Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 109.8 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3866/0.3866, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4369, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005822/0.4428, allocations: 5.31 MB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.4461, allocations: 1.628 MB / 0.5219 GB, free: 32.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.4465, allocations: 19.19 kB / 0.5219 GB, free: 32.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.4494, allocations: 1.503 MB / 0.5234 GB, free: 31.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000875/0.4502, allocations: 259.5 kB / 0.5237 GB, free: 31.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.4513, allocations: 0.4884 MB / 0.5241 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007781/0.4521, allocations: 0.7753 MB / 0.5249 GB, free: 31.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.453, allocations: 0.6782 MB / 0.5256 GB, free: 30.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.4535, allocations: 322.7 kB / 0.5259 GB, free: 30.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.454, allocations: 452.3 kB / 0.5263 GB, free: 30.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.4541, allocations: 58.47 kB / 0.5264 GB, free: 30.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.4546, allocations: 178.7 kB / 0.5265 GB, free: 30.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.4547, allocations: 162.8 kB / 0.5267 GB, free: 30.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.4551, allocations: 415.2 kB / 0.5271 GB, free: 29.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4562, allocations: 1.139 MB / 0.5282 GB, free: 29.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4562, allocations: 3.422 kB / 0.5282 GB, free: 29.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4562, allocations: 4 kB / 0.5282 GB, free: 29.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.4562, allocations: 0 / 0.5282 GB, free: 29.48 MB / 378.7 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.003252/0.4595, allocations: 1.344 MB / 0.5295 GB, free: 28.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4596, allocations: 12.25 kB / 0.5295 GB, free: 28.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.4611, allocations: 241.5 kB / 0.5298 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.4613, allocations: 268.1 kB / 0.53 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4615, allocations: 77.56 kB / 0.5301 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.4616, allocations: 99.06 kB / 0.5302 GB, free: 28.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.463, allocations: 0.9315 MB / 0.5311 GB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.463, allocations: 10.88 kB / 0.5311 GB, free: 27.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.4631, allocations: 39.78 kB / 0.5311 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.4631, allocations: 27.62 kB / 0.5312 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.4641, allocations: 0.7244 MB / 0.5319 GB, free: 27.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004537/0.4687, allocations: 4.102 MB / 0.5359 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.4709, allocations: 3.376 MB / 0.5392 GB, free: 20.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.4712, allocations: 305.4 kB / 0.5395 GB, free: 20.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.4714, allocations: 176.4 kB / 0.5396 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4714, allocations: 37.52 kB / 0.5397 GB, free: 20.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 4.208e-06/0.4714, allocations: 0 / 0.5397 GB, free: 20.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002885/0.4743, allocations: 1.326 MB / 0.541 GB, free: 19.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.4744, allocations: 141.3 kB / 0.5411 GB, free: 19.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.4749, allocations: 312.2 kB / 0.5414 GB, free: 19.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.475, allocations: 40.3 kB / 0.5414 GB, free: 19.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.4753, allocations: 400.4 kB / 0.5418 GB, free: 19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.4755, allocations: 229.7 kB / 0.542 GB, free: 18.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.4758, allocations: 146.1 kB / 0.5422 GB, free: 18.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4759, allocations: 360.6 kB / 0.5425 GB, free: 18.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.4762, allocations: 197.9 kB / 0.5427 GB, free: 18.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.4768, allocations: 400.5 kB / 0.5431 GB, free: 18.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.4777, allocations: 0.6208 MB / 0.5437 GB, free: 17.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4777, allocations: 1.469 kB / 0.5437 GB, free: 17.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00179/0.4795, allocations: 0.8858 MB / 0.5446 GB, free: 17.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4796, allocations: 7.094 kB / 0.5446 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.4796, allocations: 6.312 kB / 0.5446 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.4804, allocations: 225.2 kB / 0.5448 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/0.481, allocations: 140.6 kB / 0.5449 GB, free: 17.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004692/0.4857, allocations: 6.226 MB / 0.551 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.4862, allocations: 82.22 kB / 0.5511 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.4863, allocations: 43.39 kB / 0.5511 GB, free: 11.18 MB / 378.7 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.0003352/0.4866, allocations: 224.2 kB / 0.5513 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.4868, allocations: 41.84 kB / 0.5514 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.4881, allocations: 0.6954 MB / 0.5521 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4881, allocations: 6.844 kB / 0.5521 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4881, allocations: 10.39 kB / 0.5521 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4881, allocations: 8.562 kB / 0.5521 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.4905, allocations: 1.57 MB / 0.5536 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.4906, allocations: 6.312 kB / 0.5536 GB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.4908, allocations: 68.5 kB / 0.5537 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005345/0.4914, allocations: 216.8 kB / 0.5539 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.4914, allocations: 12.56 kB / 0.5539 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.4955, allocations: 6.223 MB / 0.56 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4956, allocations: 1.375 kB / 0.56 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.4981, allocations: 2.383 MB / 0.5623 GB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4983, allocations: 137.2 kB / 0.5624 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.4983, allocations: 12.56 kB / 0.5625 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.4987, allocations: 14.22 kB / 0.5625 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.4988, allocations: 51.61 kB / 0.5625 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.4989, allocations: 18.55 kB / 0.5625 GB, free: 1.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000274/0.4992, allocations: 211.6 kB / 0.5627 GB, free: 1.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4992, allocations: 5.312 kB / 0.5627 GB, free: 1.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001365/0.5005, allocations: 294.8 kB / 0.563 GB, free: 1.598 MB / 378.7 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.0003074/0.5009, allocations: 146.9 kB / 0.5632 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5026, allocations: 1.081 MB / 0.5642 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5026, allocations: 0 / 0.5642 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008645/0.5035, allocations: 0.7784 MB / 0.565 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.5043, allocations: 43.95 kB / 0.565 GB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.5074, allocations: 1.942 MB / 0.5669 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.5082, allocations: 0.9235 MB / 0.5678 GB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003584/0.5086, allocations: 68.42 kB / 0.5679 GB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.5087, allocations: 38.19 kB / 0.5679 GB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.416e-06/0.5087, allocations: 0 / 0.5679 GB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01467/0.5234, allocations: 6.774 MB / 0.5745 GB, free: 9.746 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches