Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 105.1 kB / 21.22 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 216.3 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 46.96 MB / 361.7 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 66.03 MB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004412/0.3528, allocations: 2.356 MB / 0.5636 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3548, allocations: 1.016 MB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3549, allocations: 4 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3563, allocations: 474 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.3566, allocations: 115.2 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/0.3576, allocations: 454.2 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.358, allocations: 227 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.3585, allocations: 228.4 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.3587, allocations: 107.6 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.3589, allocations: 119.5 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.359, allocations: 24 kB / 0.5663 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.3594, allocations: 147.9 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3594, allocations: 59.77 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3595, allocations: 87.59 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.3602, allocations: 406.5 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3602, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3602, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3602, allocations: 4 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00143/0.3616, allocations: 0.5521 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3616, allocations: 8.031 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.353e-05/0.3617, allocations: 8.688 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.476e-05/0.3617, allocations: 62.73 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.3621, allocations: 48.77 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.3623, allocations: 134.2 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3623, allocations: 16.88 kB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.3624, allocations: 24.38 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.363, allocations: 294.5 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.363, allocations: 7.938 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.3631, allocations: 12 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.3631, allocations: 8 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.3637, allocations: 229.6 kB / 0.5683 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3653, allocations: 0.8715 MB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3658, allocations: 212.8 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.3661, allocations: 125.6 kB / 0.5695 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3663, allocations: 19.98 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3663, allocations: 34.55 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.3663, allocations: 0 / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001232/0.3675, allocations: 359.2 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3676, allocations: 77.23 kB / 0.57 GB, free: 11.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3678, allocations: 144.3 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3678, allocations: 29.7 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3679, allocations: 144.3 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.368, allocations: 71.38 kB / 0.5703 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.368, allocations: 41.7 kB / 0.5704 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3682, allocations: 322.8 kB / 0.5707 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3684, allocations: 67.95 kB / 0.5708 GB, free: 10.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.3687, allocations: 123.6 kB / 0.5709 GB, free: 10.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.3691, allocations: 205.8 kB / 0.5711 GB, free: 9.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3691, allocations: 4 kB / 0.5711 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000642/0.3698, allocations: 270.9 kB / 0.5713 GB, free: 9.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3698, allocations: 8 kB / 0.5713 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3698, allocations: 0 / 0.5713 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.37, allocations: 53.88 kB / 0.5714 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.3702, allocations: 44.02 kB / 0.5714 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.3725, allocations: 2.629 MB / 0.574 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3727, allocations: 35.8 kB / 0.574 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3727, allocations: 12.12 kB / 0.5741 GB, free: 6.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.3729, allocations: 145.7 kB / 0.5742 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.3729, allocations: 11.95 kB / 0.5742 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.3736, allocations: 262.8 kB / 0.5745 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3737, allocations: 4 kB / 0.5745 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3737, allocations: 0 / 0.5745 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3737, allocations: 0 / 0.5745 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3749, allocations: 0.6014 MB / 0.575 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3749, allocations: 4.062 kB / 0.575 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.375, allocations: 40 kB / 0.5751 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.3752, allocations: 49.67 kB / 0.5751 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3752, allocations: 8 kB / 0.5751 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.3774, allocations: 2.621 MB / 0.5777 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3774, allocations: 128 / 0.5777 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009629/0.3783, allocations: 0.5218 MB / 0.5782 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3784, allocations: 11.94 kB / 0.5782 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3784, allocations: 12 kB / 0.5782 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.3786, allocations: 23.92 kB / 0.5783 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.3787, allocations: 31.83 kB / 0.5783 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3787, allocations: 4 kB / 0.5783 GB, free: 2.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.3788, allocations: 107.3 kB / 0.5784 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3788, allocations: 0 / 0.5784 GB, free: 1.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004733/0.3793, allocations: 75.83 kB / 0.5785 GB, free: 1.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.3807, allocations: 1.069 MB / 0.5795 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008128/0.3815, allocations: 417.1 kB / 0.5799 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3815, allocations: 0 / 0.5799 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.382, allocations: 321.7 kB / 0.5802 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3825, allocations: 20.05 kB / 0.5802 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.3861, allocations: 2.363 MB / 0.5825 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3863, allocations: 129.1 kB / 0.5827 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.3863, allocations: 17.42 kB / 0.5827 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3865, allocations: 55.41 kB / 0.5827 GB, free: 13.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3865, allocations: 8 kB / 0.5827 GB, free: 13.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04075/0.4272, allocations: 4.736 MB / 0.5874 GB, free: 8.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.42, allocations: 8.031 kB / 0.5874 GB, free: 8.621 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.568749667960219]