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.001329/0.001329, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001317/0.001317, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2185/0.2185, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 76.06 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3403, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005834/0.3462, allocations: 5.31 MB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.3497, allocations: 1.582 MB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.3503, allocations: 17.97 kB / 0.5252 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003846/0.3542, allocations: 1.594 MB / 0.5267 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.3555, allocations: 301 kB / 0.527 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.3573, allocations: 0.6828 MB / 0.5277 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3586, allocations: 0.7908 MB / 0.5285 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.3598, allocations: 0.7306 MB / 0.5292 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.3605, allocations: 340.2 kB / 0.5295 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.3612, allocations: 468.9 kB / 0.5299 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.3613, allocations: 74.91 kB / 0.53 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.3618, allocations: 190.6 kB / 0.5302 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.362, allocations: 174.8 kB / 0.5304 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3624, allocations: 427.5 kB / 0.5308 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.364, allocations: 1.163 MB / 0.5319 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.364, allocations: 0 / 0.5319 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.364, allocations: 0 / 0.5319 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.364, allocations: 0 / 0.5319 GB, free: 10.11 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.003573/0.3676, allocations: 1.377 MB / 0.5333 GB, free: 9.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3676, allocations: 9.688 kB / 0.5333 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.3678, allocations: 148 kB / 0.5334 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3693, allocations: 228.7 kB / 0.5336 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.3696, allocations: 256 kB / 0.5339 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.768e-05/0.3697, allocations: 82.12 kB / 0.5339 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3699, allocations: 104.4 kB / 0.534 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.3715, allocations: 0.931 MB / 0.535 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.3716, allocations: 6.328 kB / 0.535 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.3717, allocations: 40.25 kB / 0.535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.3717, allocations: 23.91 kB / 0.535 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.373, allocations: 0.7229 MB / 0.5357 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005802/0.3789, allocations: 3.92 MB / 0.5396 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.3821, allocations: 3.374 MB / 0.5429 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.3825, allocations: 302.2 kB / 0.5431 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.3827, allocations: 100.1 kB / 0.5432 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3827, allocations: 37.73 kB / 0.5433 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.845e-06/0.3827, allocations: 5.031 kB / 0.5433 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002957/0.3857, allocations: 1.332 MB / 0.5446 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.3858, allocations: 134.4 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.3862, allocations: 308.4 kB / 0.545 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3863, allocations: 40.67 kB / 0.545 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.3866, allocations: 417.8 kB / 0.5454 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.3868, allocations: 241.8 kB / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.3871, allocations: 145.2 kB / 0.5458 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3872, allocations: 356.6 kB / 0.5461 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3876, allocations: 196.4 kB / 0.5463 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.3882, allocations: 398 kB / 0.5467 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.3891, allocations: 0.6183 MB / 0.5473 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3891, allocations: 2.094 kB / 0.5473 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001595/0.3907, allocations: 0.8839 MB / 0.5482 GB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3907, allocations: 8.094 kB / 0.5482 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3908, allocations: 11.94 kB / 0.5482 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/0.3915, allocations: 219.2 kB / 0.5484 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.392, allocations: 139.8 kB / 0.5485 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.3989, allocations: 6.714 MB / 0.5551 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.3996, allocations: 91.34 kB / 0.5552 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.3997, allocations: 39.94 kB / 0.5552 GB, free: 4.398 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.0004111/0.4001, allocations: 221.6 kB / 0.5554 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4003, allocations: 43.72 kB / 0.5555 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.4017, allocations: 0.6871 MB / 0.5561 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4017, allocations: 8 kB / 0.5562 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4017, allocations: 4 kB / 0.5562 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4017, allocations: 3.984 kB / 0.5562 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.4043, allocations: 1.565 MB / 0.5577 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4043, allocations: 0 / 0.5577 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.4046, allocations: 71.89 kB / 0.5578 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/0.4052, allocations: 219.2 kB / 0.558 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.4052, allocations: 16 kB / 0.558 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006552/0.4118, allocations: 6.698 MB / 0.5645 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4118, allocations: 0 / 0.5645 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.4137, allocations: 1.191 MB / 0.5657 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.4139, allocations: 132.7 kB / 0.5658 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.414, allocations: 12.06 kB / 0.5658 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.4143, allocations: 20.06 kB / 0.5658 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4145, allocations: 59.8 kB / 0.5659 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.4145, allocations: 16.38 kB / 0.5659 GB, free: 8.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.4148, allocations: 210 kB / 0.5661 GB, free: 8.516 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4148, allocations: 0 / 0.5661 GB, free: 8.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001125/0.4159, allocations: 283.4 kB / 0.5664 GB, free: 8.238 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.002239/0.4182, allocations: 1.762 MB / 0.5681 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.42, allocations: 1.087 MB / 0.5692 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.42, allocations: 0 / 0.5692 GB, free: 5.297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4211, allocations: 0.7761 MB / 0.5699 GB, free: 4.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.4218, allocations: 55.52 kB / 0.57 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/0.4295, allocations: 5.146 MB / 0.575 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.4302, allocations: 0.9111 MB / 0.5759 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.4305, allocations: 64.53 kB / 0.576 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.4308, allocations: 231.3 kB / 0.5762 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.915e-06/0.4308, allocations: 0 / 0.5762 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04993/0.4807, allocations: 11.73 MB / 0.5876 GB, free: 2.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.13, allocations: 3.547 kB / 0.5876 GB, free: 2.227 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