Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 117.2 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 185 kB / 18.72 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3193, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005416/0.3247, allocations: 5.306 MB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.3278, allocations: 1.582 MB / 0.5252 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.3282, allocations: 19.22 kB / 0.5252 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003513/0.3318, allocations: 1.593 MB / 0.5267 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3328, allocations: 310.7 kB / 0.527 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3343, allocations: 0.6709 MB / 0.5277 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.3353, allocations: 0.7989 MB / 0.5285 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3364, allocations: 0.7358 MB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.3369, allocations: 331.7 kB / 0.5295 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.3375, allocations: 466 kB / 0.5299 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3376, allocations: 74.78 kB / 0.53 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.3381, allocations: 198.1 kB / 0.5302 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3382, allocations: 170.4 kB / 0.5304 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.3386, allocations: 428.5 kB / 0.5308 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.3401, allocations: 1.163 MB / 0.5319 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3401, allocations: 0 / 0.5319 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3401, allocations: 0 / 0.5319 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.3401, allocations: 1.156 kB / 0.5319 GB, free: 10.07 MB / 398.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.003601/0.3437, allocations: 1.368 MB / 0.5332 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3438, allocations: 10.91 kB / 0.5333 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3439, allocations: 155 kB / 0.5334 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.3454, allocations: 228.1 kB / 0.5336 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.3457, allocations: 262.1 kB / 0.5339 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.3458, allocations: 70.62 kB / 0.5339 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.346, allocations: 113.2 kB / 0.534 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.3476, allocations: 0.9217 MB / 0.5349 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.3477, allocations: 6.75 kB / 0.535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.75e-05/0.3478, allocations: 39.62 kB / 0.535 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.3478, allocations: 24.34 kB / 0.535 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.349, allocations: 0.7221 MB / 0.5357 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.3543, allocations: 3.928 MB / 0.5396 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.3568, allocations: 3.375 MB / 0.5429 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.3573, allocations: 296.4 kB / 0.5431 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3574, allocations: 97.66 kB / 0.5432 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3575, allocations: 45.64 kB / 0.5433 GB, free: 60 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.575e-06/0.3575, allocations: 0.8438 kB / 0.5433 GB, free: 60 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002733/0.3602, allocations: 1.328 MB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3603, allocations: 135.6 kB / 0.5447 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004119/0.3607, allocations: 312 kB / 0.545 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3608, allocations: 36.2 kB / 0.545 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.361, allocations: 419 kB / 0.5454 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.3612, allocations: 237.1 kB / 0.5457 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.3614, allocations: 153.4 kB / 0.5458 GB, free: 14.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3616, allocations: 356 kB / 0.5461 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.3619, allocations: 196.6 kB / 0.5463 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.3624, allocations: 398.3 kB / 0.5467 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.3633, allocations: 0.618 MB / 0.5473 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3633, allocations: 2.344 kB / 0.5473 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001458/0.3648, allocations: 0.8839 MB / 0.5482 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3648, allocations: 12.44 kB / 0.5482 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3648, allocations: 11.98 kB / 0.5482 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/0.3655, allocations: 219.2 kB / 0.5484 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.3659, allocations: 135.8 kB / 0.5485 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.3713, allocations: 6.71 MB / 0.5551 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.3719, allocations: 91.33 kB / 0.5552 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.372, allocations: 31.98 kB / 0.5552 GB, free: 4.359 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.0003187/0.3723, allocations: 235.8 kB / 0.5554 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.3724, allocations: 43.72 kB / 0.5555 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3736, allocations: 0.6832 MB / 0.5561 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3737, allocations: 12 kB / 0.5562 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.3737, allocations: 4 kB / 0.5562 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3737, allocations: 3.984 kB / 0.5562 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.376, allocations: 1.569 MB / 0.5577 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.376, allocations: 4.281 kB / 0.5577 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.3763, allocations: 67.92 kB / 0.5578 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.3768, allocations: 219.2 kB / 0.558 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3769, allocations: 15.98 kB / 0.558 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.3821, allocations: 6.694 MB / 0.5645 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3821, allocations: 7.938 kB / 0.5645 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.3837, allocations: 1.187 MB / 0.5657 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3838, allocations: 136.6 kB / 0.5658 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.3839, allocations: 12 kB / 0.5658 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3843, allocations: 15.98 kB / 0.5658 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3844, allocations: 59.88 kB / 0.5659 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.3844, allocations: 19.98 kB / 0.5659 GB, free: 8.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.3847, allocations: 210 kB / 0.5661 GB, free: 8.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3847, allocations: 0 / 0.5661 GB, free: 8.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001027/0.3857, allocations: 275.4 kB / 0.5664 GB, free: 8.188 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.001904/0.3876, allocations: 1.77 MB / 0.5681 GB, free: 6.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3892, allocations: 1.083 MB / 0.5692 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3892, allocations: 0 / 0.5692 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008401/0.3901, allocations: 0.7761 MB / 0.5699 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.3908, allocations: 48.62 kB / 0.57 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006823/0.3976, allocations: 5.156 MB / 0.575 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.3982, allocations: 0.9072 MB / 0.5759 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.3985, allocations: 68.53 kB / 0.576 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.3987, allocations: 227.4 kB / 0.5762 GB, free: 13.71 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3987, allocations: 0 / 0.5762 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04106/0.4398, allocations: 11.71 MB / 0.5876 GB, free: 2.184 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.95, allocations: 13.2 kB / 0.5876 GB, free: 2.18 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches