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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 96.45 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.186/0.186, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.187e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.5459, allocations: 92.37 MB / 0.5849 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5462, allocations: 82.48 kB / 0.585 GB, free: 4.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06237/0.6086, allocations: 26.81 MB / 0.6111 GB, free: 8.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6087, allocations: 4 kB / 0.6111 GB, free: 8.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.646e-05/0.6087, allocations: 16 kB / 0.6112 GB, free: 8.867 MB / 426.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.002429/0.6112, allocations: 1.025 MB / 0.6122 GB, free: 7.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6112, allocations: 12.03 kB / 0.6122 GB, free: 7.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.6126, allocations: 226.8 kB / 0.6124 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.6129, allocations: 254.5 kB / 0.6126 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.613, allocations: 49.98 kB / 0.6127 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.6132, allocations: 63.91 kB / 0.6127 GB, free: 7.156 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/0.6143, allocations: 0.6366 MB / 0.6134 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6156, allocations: 0.7606 MB / 0.6141 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.6157, allocations: 4 kB / 0.6141 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.6157, allocations: 4 kB / 0.6141 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.6158, allocations: 24 kB / 0.6141 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.6208, allocations: 3.797 MB / 0.6178 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.6234, allocations: 3.324 MB / 0.6211 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.6238, allocations: 264.5 kB / 0.6213 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.6239, allocations: 97.41 kB / 0.6214 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.624, allocations: 46.89 kB / 0.6215 GB, free: 13.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 4.99e-06/0.624, allocations: 0 / 0.6215 GB, free: 13.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001609/0.6256, allocations: 0.6617 MB / 0.6221 GB, free: 12.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.6257, allocations: 144.4 kB / 0.6223 GB, free: 12.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.626, allocations: 246.2 kB / 0.6225 GB, free: 12.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.626, allocations: 25.7 kB / 0.6225 GB, free: 12.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6263, allocations: 402.3 kB / 0.6229 GB, free: 11.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.6265, allocations: 216.8 kB / 0.6231 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.6265, allocations: 0 / 0.6231 GB, free: 11.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6267, allocations: 350.8 kB / 0.6234 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.6269, allocations: 166.6 kB / 0.6236 GB, free: 10.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.6273, allocations: 365.2 kB / 0.6239 GB, free: 10.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.6281, allocations: 338.2 kB / 0.6243 GB, free: 10.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6281, allocations: 4 kB / 0.6243 GB, free: 10.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001648/0.6298, allocations: 0.8581 MB / 0.6251 GB, free: 9.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.6298, allocations: 9.25 kB / 0.6251 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6298, allocations: 12.03 kB / 0.6251 GB, free: 9.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.6304, allocations: 219.2 kB / 0.6253 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.6309, allocations: 147.8 kB / 0.6255 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.6361, allocations: 5.947 MB / 0.6313 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.6368, allocations: 75.05 kB / 0.6314 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.6368, allocations: 32 kB / 0.6314 GB, free: 2.363 MB / 442.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.0001614/0.637, allocations: 124.9 kB / 0.6315 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6371, allocations: 39.53 kB / 0.6316 GB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.6387, allocations: 0.7126 MB / 0.6322 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6387, allocations: 11.98 kB / 0.6323 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6387, allocations: 4 kB / 0.6323 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6387, allocations: 11.92 kB / 0.6323 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.6414, allocations: 1.473 MB / 0.6337 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.6414, allocations: 7.953 kB / 0.6337 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.6416, allocations: 75.84 kB / 0.6338 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.6422, allocations: 207.2 kB / 0.634 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.6422, allocations: 7.984 kB / 0.634 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005032/0.6472, allocations: 5.928 MB / 0.6398 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6473, allocations: 4.156 kB / 0.6398 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.6493, allocations: 1.242 MB / 0.641 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.6495, allocations: 128.5 kB / 0.6411 GB, free: 7.773 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.6495, allocations: 7.984 kB / 0.6411 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.6498, allocations: 0 / 0.6411 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.65, allocations: 55.98 kB / 0.6412 GB, free: 7.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.65, allocations: 20 kB / 0.6412 GB, free: 7.691 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.6502, allocations: 174 kB / 0.6414 GB, free: 7.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.6502, allocations: 0 / 0.6414 GB, free: 7.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00101/0.6512, allocations: 251 kB / 0.6416 GB, free: 7.273 MB / 458.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.0002434/0.6515, allocations: 132.3 kB / 0.6417 GB, free: 7.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.6529, allocations: 0.9769 MB / 0.6427 GB, free: 6.121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6529, allocations: 0 / 0.6427 GB, free: 6.121 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.6537, allocations: 0.7145 MB / 0.6434 GB, free: 5.367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.6541, allocations: 32.44 kB / 0.6434 GB, free: 5.336 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.656, allocations: 0.9364 MB / 0.6443 GB, free: 4.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.6566, allocations: 0.9267 MB / 0.6452 GB, free: 3.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.6569, allocations: 68.42 kB / 0.6453 GB, free: 3.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.657, allocations: 31.44 kB / 0.6453 GB, free: 3.309 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.657, allocations: 0 / 0.6453 GB, free: 3.309 MB / 458.7 MB Notification: Performance of Templates: time 0.01144/0.6685, allocations: 5.795 MB / 0.651 GB, free: 13.54 MB / 474.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches