Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 98.06 kB / 16.94 MB, free: 5.984 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.001593/0.001593, allocations: 176.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004368, allocations: 11.28 kB / 280.8 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07931, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004365/0.08372, allocations: 4.125 MB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.08674, allocations: 1.59 MB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.08724, allocations: 20 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.08792, allocations: 198.8 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008692/0.0888, allocations: 291.2 kB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.0902, allocations: 0.6505 MB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.09122, allocations: 0.5578 MB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.09397, allocations: 1.336 MB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.09449, allocations: 278.9 kB / 337.4 MB, free: 11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.09495, allocations: 366.5 kB / 337.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.09503, allocations: 36 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.0956, allocations: 195.8 kB / 338 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.09571, allocations: 131.4 kB / 338.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.0959, allocations: 165.3 kB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009717/0.09688, allocations: 0.8882 MB / 339.1 MB, free: 9.227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09689, allocations: 0 / 339.1 MB, free: 9.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.0969, allocations: 4 kB / 339.1 MB, free: 9.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.09692, allocations: 4 kB / 339.1 MB, free: 9.219 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003655/0.1006, allocations: 1.283 MB / 340.4 MB, free: 7.883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1006, allocations: 12.03 kB / 340.4 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.1023, allocations: 250.8 kB / 340.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1026, allocations: 269.8 kB / 340.9 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.1026, allocations: 73.94 kB / 341 MB, free: 7.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.1028, allocations: 103.9 kB / 341.1 MB, free: 7.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1042, allocations: 0.9185 MB / 342 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.1043, allocations: 4 kB / 342 MB, free: 6.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.1044, allocations: 47.94 kB / 342.1 MB, free: 6.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1044, allocations: 24 kB / 342.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1056, allocations: 0.7692 MB / 342.9 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.1106, allocations: 3.392 MB / 346.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.1125, allocations: 1.256 MB / 347.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.1126, allocations: 106.1 kB / 347.6 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1127, allocations: 43.56 kB / 347.7 MB, free: 288 kB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.405e-06/0.1127, allocations: 0 / 347.7 MB, free: 288 kB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002139/0.1148, allocations: 1.292 MB / 349 MB, free: 14.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.1149, allocations: 90.14 kB / 349.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1153, allocations: 368.3 kB / 349.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1153, allocations: 37.7 kB / 349.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1156, allocations: 382.8 kB / 349.8 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.1158, allocations: 299.7 kB / 350.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1158, allocations: 20 kB / 350.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.116, allocations: 358.8 kB / 350.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.1164, allocations: 258.5 kB / 350.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.117, allocations: 471.4 kB / 351.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.1175, allocations: 330.9 kB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1175, allocations: 0 / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001606/0.1191, allocations: 0.9729 MB / 352.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.1192, allocations: 4 kB / 352.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1192, allocations: 8 kB / 352.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.1196, allocations: 131.3 kB / 352.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.1204, allocations: 199.7 kB / 352.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.1243, allocations: 5.606 MB / 358.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.125, allocations: 98.91 kB / 358.5 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.1251, allocations: 43.98 kB / 358.6 MB, free: 4.586 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003373/0.1254, allocations: 221.7 kB / 358.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1256, allocations: 55.34 kB / 358.8 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.1269, allocations: 0.8481 MB / 359.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.127, allocations: 8 kB / 359.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.127, allocations: 4 kB / 359.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.127, allocations: 7.984 kB / 359.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.1298, allocations: 1.92 MB / 361.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.1299, allocations: 4 kB / 361.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.1304, allocations: 135.8 kB / 361.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.1308, allocations: 123.6 kB / 361.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.1308, allocations: 16 kB / 361.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.1345, allocations: 5.334 MB / 367.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1346, allocations: 3.984 kB / 367.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.1365, allocations: 1.374 MB / 368.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1367, allocations: 148.3 kB / 368.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.1368, allocations: 20 kB / 368.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.1372, allocations: 27.94 kB / 368.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.1373, allocations: 60.52 kB / 368.9 MB, free: 9.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.1373, allocations: 24 kB / 368.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.1376, allocations: 255.2 kB / 369.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 4 kB / 369.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000965/0.1386, allocations: 260.4 kB / 369.4 MB, free: 8.922 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002731/0.1389, allocations: 147.1 kB / 369.5 MB, free: 8.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.1406, allocations: 1.157 MB / 370.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1406, allocations: 0 / 370.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.1414, allocations: 0.7967 MB / 371.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.1418, allocations: 57.56 kB / 371.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1444, allocations: 1.703 MB / 373.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.1449, allocations: 0.9324 MB / 374.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006382/0.1456, allocations: 109.1 kB / 374.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1457, allocations: 51.38 kB / 374.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1457, allocations: 0 / 374.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of Templates: time 0.1506/0.2963, allocations: 6.583 MB / 380.9 MB, free: 50.96 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches