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: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001224/0.001224, allocations: 184.1 kB / 18.71 MB, free: 4.348 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2031/0.2031, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4051, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006333/0.4115, allocations: 5.326 MB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003409/0.4149, allocations: 1.583 MB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.4153, allocations: 17.97 kB / 0.5257 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.4187, allocations: 1.579 MB / 0.5272 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008046/0.4195, allocations: 300.5 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.4209, allocations: 0.6933 MB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007779/0.4217, allocations: 0.7975 MB / 0.5289 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/0.4226, allocations: 0.7251 MB / 0.5297 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.423, allocations: 339.3 kB / 0.53 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.4235, allocations: 460.8 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.4236, allocations: 75.22 kB / 0.5305 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.4241, allocations: 190.1 kB / 0.5307 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4242, allocations: 174.7 kB / 0.5308 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.4246, allocations: 435.3 kB / 0.5312 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.4257, allocations: 1.159 MB / 0.5324 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4258, allocations: 0 / 0.5324 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4258, allocations: 0 / 0.5324 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.4258, allocations: 0 / 0.5324 GB, free: 10.28 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.003236/0.429, allocations: 1.348 MB / 0.5337 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4291, allocations: 8.844 kB / 0.5337 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.4305, allocations: 227.4 kB / 0.5339 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.4308, allocations: 266.1 kB / 0.5342 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.4308, allocations: 74.91 kB / 0.5342 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.431, allocations: 103.7 kB / 0.5343 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.4325, allocations: 0.9349 MB / 0.5353 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.4325, allocations: 2.312 kB / 0.5353 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.4326, allocations: 40.03 kB / 0.5353 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.4327, allocations: 24.53 kB / 0.5353 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.434, allocations: 0.7221 MB / 0.536 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.4392, allocations: 3.9 MB / 0.5398 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.4417, allocations: 3.384 MB / 0.5431 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.4421, allocations: 300.9 kB / 0.5434 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.4422, allocations: 92.75 kB / 0.5435 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4423, allocations: 43.22 kB / 0.5436 GB, free: 440 kB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.474e-06/0.4423, allocations: 0 / 0.5436 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.002676/0.445, allocations: 1.328 MB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.445, allocations: 144.2 kB / 0.545 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.4455, allocations: 315.8 kB / 0.5453 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4455, allocations: 35.67 kB / 0.5453 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.4457, allocations: 396.8 kB / 0.5457 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4459, allocations: 225.6 kB / 0.5459 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.4461, allocations: 147.9 kB / 0.5461 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4463, allocations: 348 kB / 0.5464 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.4467, allocations: 205.8 kB / 0.5466 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.4472, allocations: 397.8 kB / 0.547 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009474/0.4482, allocations: 0.6186 MB / 0.5476 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4482, allocations: 1.156 kB / 0.5476 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001624/0.4498, allocations: 0.8836 MB / 0.5484 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.4499, allocations: 11.94 kB / 0.5484 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.4499, allocations: 8 kB / 0.5485 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008129/0.4507, allocations: 223.5 kB / 0.5487 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.4513, allocations: 143.8 kB / 0.5488 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/0.4574, allocations: 6.713 MB / 0.5554 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.4582, allocations: 79.25 kB / 0.5554 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.4583, allocations: 43.98 kB / 0.5555 GB, free: 4.547 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.0004956/0.4588, allocations: 223.9 kB / 0.5557 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.459, allocations: 43.44 kB / 0.5557 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.4601, allocations: 0.6909 MB / 0.5564 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4601, allocations: 8 kB / 0.5564 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4601, allocations: 7.984 kB / 0.5564 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.4601, allocations: 3.984 kB / 0.5564 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.4624, allocations: 1.561 MB / 0.558 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.4624, allocations: 4 kB / 0.558 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.4626, allocations: 63.91 kB / 0.558 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.4631, allocations: 215.2 kB / 0.5582 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.4632, allocations: 16 kB / 0.5582 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.4682, allocations: 6.678 MB / 0.5648 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4683, allocations: 0 / 0.5648 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.4697, allocations: 1.203 MB / 0.5659 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.4699, allocations: 128.5 kB / 0.5661 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.47, allocations: 12 kB / 0.5661 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.4703, allocations: 12 kB / 0.5661 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4704, allocations: 64.11 kB / 0.5661 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.4704, allocations: 20.06 kB / 0.5662 GB, free: 8.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.4707, allocations: 213.9 kB / 0.5664 GB, free: 8.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4707, allocations: 0 / 0.5664 GB, free: 8.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00111/0.4718, allocations: 279.1 kB / 0.5666 GB, free: 8.402 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.0002585/0.4721, allocations: 139.1 kB / 0.5668 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.4736, allocations: 1.071 MB / 0.5678 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4737, allocations: 0 / 0.5678 GB, free: 7.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.4745, allocations: 0.7765 MB / 0.5686 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.4751, allocations: 40.55 kB / 0.5686 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.4771, allocations: 1.227 MB / 0.5698 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.4775, allocations: 0.9111 MB / 0.5707 GB, free: 4.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00023/0.4778, allocations: 68.53 kB / 0.5708 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.4778, allocations: 35.44 kB / 0.5708 GB, free: 3.957 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4779, allocations: 0 / 0.5708 GB, free: 3.957 MB / 430.1 MB Notification: Performance of Templates: time 0.01175/0.4896, allocations: 6.985 MB / 0.5776 GB, free: 13 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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