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.001312/0.001312, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001411/0.001411, allocations: 217.5 kB / 23 MB, free: 5.004 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.449/1.449, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.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.2185/0.2185, allocations: 44.23 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",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.002281/0.002281, allocations: 78.48 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 61.03 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006885/0.1275, allocations: 5.334 MB / 0.5214 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1304, allocations: 1.636 MB / 0.523 GB, free: 340 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1307, allocations: 20 kB / 0.523 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003527/0.1342, allocations: 1.602 MB / 0.5245 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1349, allocations: 305.7 kB / 0.5248 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.136, allocations: 0.5103 MB / 0.5253 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008842/0.1369, allocations: 0.8085 MB / 0.5261 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009576/0.1379, allocations: 0.647 MB / 0.5267 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.1383, allocations: 346.8 kB / 0.5271 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.1388, allocations: 462.1 kB / 0.5275 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.1389, allocations: 76 kB / 0.5276 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.1393, allocations: 191.8 kB / 0.5278 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1395, allocations: 175.3 kB / 0.5279 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.1398, allocations: 426 kB / 0.5283 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1411, allocations: 1.152 MB / 0.5295 GB, free: 9.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1411, allocations: 4 kB / 0.5295 GB, free: 9.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1411, allocations: 0 / 0.5295 GB, free: 9.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.1411, allocations: 0 / 0.5295 GB, free: 9.609 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003254/0.1444, allocations: 1.289 MB / 0.5307 GB, free: 8.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1444, allocations: 15.97 kB / 0.5307 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.1446, allocations: 152.4 kB / 0.5309 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.146, allocations: 232.2 kB / 0.5311 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1462, allocations: 206 kB / 0.5313 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.1463, allocations: 74.38 kB / 0.5314 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1464, allocations: 99.94 kB / 0.5315 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.148, allocations: 0.9283 MB / 0.5324 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.148, allocations: 7.953 kB / 0.5324 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.1481, allocations: 43.94 kB / 0.5324 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1481, allocations: 24 kB / 0.5325 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1495, allocations: 0.7183 MB / 0.5332 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.1546, allocations: 3.661 MB / 0.5367 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.1561, allocations: 0.7817 MB / 0.5375 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.1565, allocations: 264.5 kB / 0.5377 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.1566, allocations: 16.31 kB / 0.5378 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1566, allocations: 46.83 kB / 0.5378 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 1.973e-06/0.1566, allocations: 0 / 0.5378 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.2082/0.3648, allocations: 1.012 MB / 0.5388 GB, free: 27.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3648, allocations: 136 kB / 0.5389 GB, free: 27.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.3652, allocations: 319.6 kB / 0.5392 GB, free: 27.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3653, allocations: 34.89 kB / 0.5393 GB, free: 27.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.3655, allocations: 411.1 kB / 0.5397 GB, free: 27.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3656, allocations: 241.8 kB / 0.5399 GB, free: 27.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3658, allocations: 150 kB / 0.54 GB, free: 27.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.3659, allocations: 351 kB / 0.5404 GB, free: 26.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.3662, allocations: 197.2 kB / 0.5406 GB, free: 26.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.3666, allocations: 400.1 kB / 0.5409 GB, free: 26.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.3673, allocations: 0.6299 MB / 0.5416 GB, free: 26.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3673, allocations: 2.219 kB / 0.5416 GB, free: 26.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001427/0.3688, allocations: 0.8724 MB / 0.5424 GB, free: 26.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3688, allocations: 12.77 kB / 0.5424 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3688, allocations: 6 kB / 0.5424 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.3695, allocations: 228.2 kB / 0.5426 GB, free: 26.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.37, allocations: 135.1 kB / 0.5428 GB, free: 26.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.3742, allocations: 6.296 MB / 0.5489 GB, free: 20.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.3747, allocations: 90.14 kB / 0.549 GB, free: 20.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.3747, allocations: 32.44 kB / 0.549 GB, free: 20.59 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.0002525/0.375, allocations: 220.2 kB / 0.5492 GB, free: 20.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3751, allocations: 49.84 kB / 0.5493 GB, free: 20.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3763, allocations: 0.6708 MB / 0.5499 GB, free: 20.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3763, allocations: 12.53 kB / 0.55 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3763, allocations: 4.906 kB / 0.55 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3763, allocations: 4.406 kB / 0.55 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3786, allocations: 1.515 MB / 0.5514 GB, free: 19.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3786, allocations: 8.938 kB / 0.5515 GB, free: 19.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.3788, allocations: 72.92 kB / 0.5515 GB, free: 19.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.3793, allocations: 213.1 kB / 0.5517 GB, free: 19.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3793, allocations: 14.14 kB / 0.5517 GB, free: 19.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003859/0.3832, allocations: 6.286 MB / 0.5579 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3832, allocations: 1.812 kB / 0.5579 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3845, allocations: 1.201 MB / 0.5591 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.3846, allocations: 52.7 kB / 0.5591 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3847, allocations: 13.12 kB / 0.5591 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.385, allocations: 16.31 kB / 0.5591 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3851, allocations: 57.27 kB / 0.5592 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3852, allocations: 21.61 kB / 0.5592 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.3854, allocations: 216 kB / 0.5594 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3854, allocations: 0 / 0.5594 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001182/0.3866, allocations: 277.7 kB / 0.5597 GB, free: 12.33 MB / 414.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.001731/0.3883, allocations: 1.759 MB / 0.5614 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3898, allocations: 1.039 MB / 0.5624 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3898, allocations: 5.062 kB / 0.5624 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007362/0.3905, allocations: 0.7596 MB / 0.5632 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006558/0.3912, allocations: 41.55 kB / 0.5632 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006779/0.398, allocations: 5.14 MB / 0.5682 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3984, allocations: 0.9128 MB / 0.5691 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.3987, allocations: 66.98 kB / 0.5692 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.3989, allocations: 230.7 kB / 0.5694 GB, free: 5.414 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3989, allocations: 0 / 0.5694 GB, free: 5.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.4511, allocations: 12.43 MB / 0.5815 GB, free: 1.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.49, allocations: 5.203 kB / 0.5815 GB, free: 1.496 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.331657358910888]