Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001646/0.001646, allocations: 122.9 kB / 17.84 MB, free: 5.258 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.001635/0.001635, allocations: 199 kB / 20.79 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 207.6 MB / 231.2 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3599/0.3599, allocations: 44.23 MB / 327.3 MB, free: 6.773 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 71.89 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3108, allocations: 61 MB / 0.5116 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005716/0.3165, allocations: 5.313 MB / 0.5168 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.3196, allocations: 1.635 MB / 0.5184 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.3201, allocations: 19.62 kB / 0.5184 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003173/0.3233, allocations: 1.59 MB / 0.52 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.3246, allocations: 305.6 kB / 0.5203 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.3256, allocations: 0.5194 MB / 0.5208 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000672/0.3263, allocations: 0.8086 MB / 0.5216 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.327, allocations: 0.5572 MB / 0.5221 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.3273, allocations: 342.8 kB / 0.5224 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.3278, allocations: 466.2 kB / 0.5229 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.134e-05/0.3279, allocations: 72 kB / 0.523 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.3283, allocations: 191.8 kB / 0.5231 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3284, allocations: 175.3 kB / 0.5233 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.3287, allocations: 429.9 kB / 0.5237 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3299, allocations: 1.154 MB / 0.5248 GB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3299, allocations: 0 / 0.5248 GB, free: 1.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3299, allocations: 0 / 0.5248 GB, free: 1.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3299, allocations: 0 / 0.5248 GB, free: 1.418 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003112/0.333, allocations: 1.38 MB / 0.5262 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.3331, allocations: 11.89 kB / 0.5262 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.28e-05/0.3331, allocations: 34.12 kB / 0.5262 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.3333, allocations: 156.4 kB / 0.5264 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.3348, allocations: 232.2 kB / 0.5266 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3351, allocations: 263.8 kB / 0.5269 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.3352, allocations: 78.12 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.3354, allocations: 96 kB / 0.527 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.337, allocations: 0.9243 MB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.337, allocations: 7.953 kB / 0.5279 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.3371, allocations: 47.94 kB / 0.528 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.3372, allocations: 24 kB / 0.528 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.3384, allocations: 0.7183 MB / 0.5287 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00562/0.3441, allocations: 3.91 MB / 0.5325 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.3472, allocations: 3.324 MB / 0.5358 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.3476, allocations: 256.5 kB / 0.536 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3477, allocations: 101.4 kB / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3478, allocations: 46.83 kB / 0.5362 GB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.3478, allocations: 0 / 0.5362 GB, free: 4.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002971/0.3508, allocations: 1.315 MB / 0.5374 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.3508, allocations: 132.5 kB / 0.5376 GB, free: 3.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.3513, allocations: 322.8 kB / 0.5379 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.3513, allocations: 37.7 kB / 0.5379 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.3516, allocations: 411.8 kB / 0.5383 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.3518, allocations: 238 kB / 0.5385 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.352, allocations: 154.5 kB / 0.5387 GB, free: 1.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3522, allocations: 350.7 kB / 0.539 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.3526, allocations: 201.9 kB / 0.5392 GB, free: 1.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.3531, allocations: 400.6 kB / 0.5396 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009198/0.354, allocations: 0.631 MB / 0.5402 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.354, allocations: 0 / 0.5402 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001575/0.3556, allocations: 0.8698 MB / 0.5411 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3556, allocations: 8 kB / 0.5411 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3556, allocations: 11.94 kB / 0.5411 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.3563, allocations: 219.4 kB / 0.5413 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.3568, allocations: 135.8 kB / 0.5414 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.3635, allocations: 6.713 MB / 0.548 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.3641, allocations: 91.34 kB / 0.5481 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.3641, allocations: 35.94 kB / 0.5481 GB, free: 7.559 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003358/0.3645, allocations: 217.6 kB / 0.5483 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.3646, allocations: 43.72 kB / 0.5483 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.3659, allocations: 0.6835 MB / 0.549 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3659, allocations: 8 kB / 0.549 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3659, allocations: 4 kB / 0.549 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3659, allocations: 11.92 kB / 0.549 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.3686, allocations: 1.547 MB / 0.5505 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3686, allocations: 0 / 0.5505 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.3688, allocations: 67.91 kB / 0.5506 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/0.3694, allocations: 223.5 kB / 0.5508 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.3694, allocations: 12 kB / 0.5508 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006404/0.3758, allocations: 6.706 MB / 0.5574 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3758, allocations: 0 / 0.5574 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3776, allocations: 1.183 MB / 0.5585 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3778, allocations: 128.7 kB / 0.5587 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.3778, allocations: 12 kB / 0.5587 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3782, allocations: 16 kB / 0.5587 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.3783, allocations: 59.8 kB / 0.5587 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.3783, allocations: 20 kB / 0.5588 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.3786, allocations: 209.9 kB / 0.559 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 0.559 GB, free: 11.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001026/0.3796, allocations: 279.5 kB / 0.5592 GB, free: 11.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/0.3818, allocations: 1.755 MB / 0.5609 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.3836, allocations: 1.048 MB / 0.562 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3836, allocations: 0 / 0.562 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.3846, allocations: 0.7648 MB / 0.5627 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.3853, allocations: 40.56 kB / 0.5627 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.394, allocations: 5.133 MB / 0.5678 GB, free: 2.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.3947, allocations: 0.9111 MB / 0.5686 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.3949, allocations: 64.53 kB / 0.5687 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.3953, allocations: 231.4 kB / 0.5689 GB, free: 1.039 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3953, allocations: 0 / 0.5689 GB, free: 1.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04593/0.4412, allocations: 11.88 MB / 0.5805 GB, free: 5.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 4.75 kB / 0.5805 GB, free: 5.152 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 14.769726822967641]