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.001586/0.001586, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001873/0.001873, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2173/0.2173, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.91 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005353/0.3786, allocations: 5.314 MB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3818, allocations: 1.571 MB / 0.5251 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.3824, allocations: 22.34 kB / 0.5252 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.3861, allocations: 1.593 MB / 0.5267 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.3874, allocations: 301.6 kB / 0.527 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.3892, allocations: 0.6906 MB / 0.5277 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.3908, allocations: 0.795 MB / 0.5285 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.3922, allocations: 0.7309 MB / 0.5292 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005834/0.3928, allocations: 341.2 kB / 0.5295 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007106/0.3935, allocations: 460.8 kB / 0.5299 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.3937, allocations: 74.16 kB / 0.53 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.3943, allocations: 190.4 kB / 0.5302 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3945, allocations: 175.3 kB / 0.5304 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006358/0.3952, allocations: 431.8 kB / 0.5308 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.397, allocations: 1.159 MB / 0.5319 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.397, allocations: 5.062 kB / 0.5319 GB, free: 10.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.397, allocations: 0 / 0.5319 GB, free: 10.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.226e-05/0.3971, allocations: 0 / 0.5319 GB, free: 10.06 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.004003/0.4011, allocations: 1.351 MB / 0.5332 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4011, allocations: 9.25 kB / 0.5332 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.4014, allocations: 148.2 kB / 0.5334 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4029, allocations: 224 kB / 0.5336 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.4033, allocations: 266.4 kB / 0.5338 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.4034, allocations: 74.28 kB / 0.5339 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.4036, allocations: 104.7 kB / 0.534 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4053, allocations: 0.9313 MB / 0.5349 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.4054, allocations: 4.938 kB / 0.5349 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.4055, allocations: 41.28 kB / 0.535 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.4055, allocations: 23.34 kB / 0.535 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.4069, allocations: 0.7193 MB / 0.5357 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/0.413, allocations: 3.904 MB / 0.5395 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.4159, allocations: 3.385 MB / 0.5428 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.4164, allocations: 296.2 kB / 0.5431 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.4165, allocations: 96.75 kB / 0.5432 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.4166, allocations: 46.97 kB / 0.5432 GB, free: 92 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.276e-06/0.4166, allocations: 0 / 0.5432 GB, free: 92 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002853/0.4194, allocations: 1.327 MB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.4195, allocations: 140.2 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004313/0.42, allocations: 312.2 kB / 0.545 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.42, allocations: 36.05 kB / 0.545 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.4203, allocations: 392.8 kB / 0.5454 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.4205, allocations: 228.9 kB / 0.5456 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.4208, allocations: 152.6 kB / 0.5457 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.421, allocations: 352 kB / 0.5461 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.4215, allocations: 205.2 kB / 0.5463 GB, free: 13.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.422, allocations: 397.6 kB / 0.5466 GB, free: 13.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4231, allocations: 0.6186 MB / 0.5472 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.4231, allocations: 1.938 kB / 0.5472 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001717/0.4248, allocations: 0.8797 MB / 0.5481 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4248, allocations: 7.938 kB / 0.5481 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4249, allocations: 8 kB / 0.5481 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.4256, allocations: 223.5 kB / 0.5483 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.4261, allocations: 139.8 kB / 0.5485 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.4322, allocations: 6.705 MB / 0.555 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.4328, allocations: 79.12 kB / 0.5551 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.4329, allocations: 39.98 kB / 0.5551 GB, free: 4.457 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.0003427/0.4332, allocations: 225.6 kB / 0.5553 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4334, allocations: 43.44 kB / 0.5554 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.4346, allocations: 0.687 MB / 0.5561 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4346, allocations: 8 kB / 0.5561 GB, free: 3.465 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4346, allocations: 4 kB / 0.5561 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4346, allocations: 3.984 kB / 0.5561 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.4371, allocations: 1.569 MB / 0.5576 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4371, allocations: 4 kB / 0.5576 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4374, allocations: 67.91 kB / 0.5577 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.438, allocations: 215.2 kB / 0.5579 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.438, allocations: 12 kB / 0.5579 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005675/0.4437, allocations: 6.689 MB / 0.5644 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4437, allocations: 0 / 0.5644 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4452, allocations: 1.195 MB / 0.5656 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.4454, allocations: 128.5 kB / 0.5657 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.4455, allocations: 12 kB / 0.5657 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4459, allocations: 12 kB / 0.5657 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.446, allocations: 60.17 kB / 0.5658 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.446, allocations: 20.06 kB / 0.5658 GB, free: 8.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4462, allocations: 213.9 kB / 0.566 GB, free: 8.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4462, allocations: 0 / 0.566 GB, free: 8.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009853/0.4472, allocations: 287.1 kB / 0.5663 GB, free: 8.301 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.001834/0.4491, allocations: 1.754 MB / 0.568 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.4507, allocations: 1.084 MB / 0.5691 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.4507, allocations: 4.125 kB / 0.5691 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008517/0.4516, allocations: 0.7716 MB / 0.5698 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.4522, allocations: 50.75 kB / 0.5699 GB, free: 4.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006941/0.4592, allocations: 5.134 MB / 0.5749 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/0.4599, allocations: 0.9111 MB / 0.5758 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.4602, allocations: 68.53 kB / 0.5758 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.4604, allocations: 227.4 kB / 0.5761 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4605, allocations: 0 / 0.5761 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.517, allocations: 11.91 MB / 0.5877 GB, free: 2.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.75, allocations: 3.656 kB / 0.5877 GB, free: 2.137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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