Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009278/0.0009278, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007754, allocations: 90.56 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3017/0.3017, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.107e-05, allocations: 4 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3258/0.4306, allocations: 91.51 MB / 0.5622 GB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4309, allocations: 83.84 kB / 0.5623 GB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.051/0.4819, allocations: 26.94 MB / 0.5886 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4819, allocations: 0 / 0.5886 GB, free: 8.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.482, allocations: 12 kB / 0.5886 GB, free: 8.328 MB / 410.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.002585/0.4846, allocations: 1.031 MB / 0.5896 GB, free: 7.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4846, allocations: 12.03 kB / 0.5896 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.486, allocations: 230.8 kB / 0.5898 GB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.4863, allocations: 257.6 kB / 0.5901 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.4864, allocations: 77.23 kB / 0.5901 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.4866, allocations: 98.31 kB / 0.5902 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.4879, allocations: 0.8915 MB / 0.5911 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.4879, allocations: 15.83 kB / 0.5911 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.488, allocations: 40.94 kB / 0.5912 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.488, allocations: 31.94 kB / 0.5912 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.489, allocations: 0.688 MB / 0.5919 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.493, allocations: 3.945 MB / 0.5957 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.4953, allocations: 3.363 MB / 0.599 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.4956, allocations: 282 kB / 0.5993 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.4957, allocations: 93.42 kB / 0.5994 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.4957, allocations: 45.95 kB / 0.5994 GB, free: 14.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 1.893e-06/0.4957, allocations: 4 kB / 0.5994 GB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001016/0.4967, allocations: 0.6101 MB / 0.6 GB, free: 13.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.4968, allocations: 144.4 kB / 0.6001 GB, free: 13.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4971, allocations: 280.6 kB / 0.6004 GB, free: 13.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.4971, allocations: 36.89 kB / 0.6004 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4973, allocations: 397.5 kB / 0.6008 GB, free: 12.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4975, allocations: 228.5 kB / 0.601 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.4975, allocations: 17.69 kB / 0.6011 GB, free: 12.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4976, allocations: 352.2 kB / 0.6014 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.4979, allocations: 187.4 kB / 0.6016 GB, free: 12.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.4983, allocations: 380.2 kB / 0.6019 GB, free: 11.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4986, allocations: 251.7 kB / 0.6022 GB, free: 11.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4986, allocations: 0 / 0.6022 GB, free: 11.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001194/0.4998, allocations: 0.8551 MB / 0.603 GB, free: 10.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4998, allocations: 8 kB / 0.603 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4999, allocations: 7.938 kB / 0.603 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.5004, allocations: 224.7 kB / 0.6032 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.5008, allocations: 147 kB / 0.6034 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.5057, allocations: 6.209 MB / 0.6094 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.5061, allocations: 92.8 kB / 0.6095 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.5062, allocations: 31.72 kB / 0.6096 GB, free: 4.391 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.5063, allocations: 163.3 kB / 0.6097 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5064, allocations: 47.42 kB / 0.6098 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.5075, allocations: 0.6691 MB / 0.6104 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5075, allocations: 8 kB / 0.6104 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5075, allocations: 4 kB / 0.6104 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5075, allocations: 11.98 kB / 0.6104 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.5095, allocations: 1.544 MB / 0.6119 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5095, allocations: 0 / 0.6119 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.5097, allocations: 71.73 kB / 0.612 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/0.5102, allocations: 219.3 kB / 0.6122 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.5102, allocations: 14.5 kB / 0.6122 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.5146, allocations: 6.205 MB / 0.6183 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5147, allocations: 0 / 0.6183 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.516, allocations: 1.203 MB / 0.6195 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.5161, allocations: 124.5 kB / 0.6196 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.5162, allocations: 12 kB / 0.6196 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.5165, allocations: 12 kB / 0.6196 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.5165, allocations: 59.88 kB / 0.6197 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.5166, allocations: 16 kB / 0.6197 GB, free: 9.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.5168, allocations: 211.1 kB / 0.6199 GB, free: 9.781 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5168, allocations: 4.062 kB / 0.6199 GB, free: 9.777 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008469/0.5176, allocations: 279.1 kB / 0.6202 GB, free: 9.504 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002067/0.5179, allocations: 158.8 kB / 0.6203 GB, free: 9.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.5191, allocations: 1.05 MB / 0.6213 GB, free: 8.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5191, allocations: 0 / 0.6213 GB, free: 8.242 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.5199, allocations: 0.7685 MB / 0.6221 GB, free: 7.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.5202, allocations: 33.97 kB / 0.6221 GB, free: 7.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.5219, allocations: 0.9779 MB / 0.6231 GB, free: 6.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.5224, allocations: 0.9271 MB / 0.624 GB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.5227, allocations: 68.53 kB / 0.624 GB, free: 5.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.5228, allocations: 31.44 kB / 0.6241 GB, free: 5.32 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5228, allocations: 3.938 kB / 0.6241 GB, free: 5.316 MB / 442.7 MB Notification: Performance of Templates: time 0.01044/0.5332, allocations: 6.205 MB / 0.6301 GB, free: 15.14 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches