Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008983, allocations: 100.1 kB / 16.96 MB, free: 6 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.001137/0.001137, allocations: 178.8 kB / 17.84 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.593/1.593, 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.0004869/0.0004869, allocations: 8 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09541, allocations: 47.59 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004389/0.09983, allocations: 3.494 MB / 331.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.1028, allocations: 1.524 MB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.1033, allocations: 12 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.1039, allocations: 167.2 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.1048, allocations: 190.8 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1065, allocations: 0.6427 MB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008826/0.1074, allocations: 0.5754 MB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.1093, allocations: 0.8179 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.1099, allocations: 219.1 kB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006494/0.1106, allocations: 290.8 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.1108, allocations: 32 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.1116, allocations: 227.8 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1118, allocations: 103.5 kB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.1121, allocations: 129.4 kB / 336.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1132, allocations: 0.6741 MB / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.1133, allocations: 0 / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1133, allocations: 0 / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.787e-05/0.1133, allocations: 0 / 337.4 MB, free: 10.93 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003782/0.1171, allocations: 1.108 MB / 338.5 MB, free: 9.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1172, allocations: 11.97 kB / 338.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.1185, allocations: 179.1 kB / 338.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1188, allocations: 242.9 kB / 339 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.1189, allocations: 50 kB / 339 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.119, allocations: 68 kB / 339.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.1205, allocations: 0.7074 MB / 339.8 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.1206, allocations: 11.83 kB / 339.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.1207, allocations: 28 kB / 339.8 MB, free: 8.422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1207, allocations: 16 kB / 339.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1221, allocations: 0.6179 MB / 340.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.1258, allocations: 2.328 MB / 342.8 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1276, allocations: 1.633 MB / 344.4 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.1281, allocations: 283.7 kB / 344.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1283, allocations: 97.64 kB / 344.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.1283, allocations: 43.12 kB / 344.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.1283, allocations: 0 / 344.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001638/0.13, allocations: 0.7328 MB / 345.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.1301, allocations: 111.4 kB / 345.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.1304, allocations: 256.9 kB / 345.9 MB, free: 1.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.1304, allocations: 33.7 kB / 346 MB, free: 1.836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1306, allocations: 268 kB / 346.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1308, allocations: 220.7 kB / 346.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1309, allocations: 16 kB / 346.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.131, allocations: 350.8 kB / 346.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.1315, allocations: 213.9 kB / 347 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.1321, allocations: 313.3 kB / 347.3 MB, free: 452 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.1327, allocations: 259.2 kB / 347.6 MB, free: 196 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1327, allocations: 3.938 kB / 347.6 MB, free: 192 kB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001288/0.134, allocations: 0.6454 MB / 348.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.134, allocations: 4 kB / 348.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.134, allocations: 4 kB / 348.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1341, allocations: 4 kB / 348.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.1348, allocations: 167.7 kB / 348.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.1348, allocations: 8 kB / 348.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.1353, allocations: 75.34 kB / 348.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.1353, allocations: 28 kB / 348.5 MB, free: 15.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002578/0.1356, allocations: 189.7 kB / 348.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1357, allocations: 39.53 kB / 348.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.137, allocations: 0.624 MB / 349.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.1371, allocations: 8 kB / 349.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1371, allocations: 0 / 349.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.1371, allocations: 3.984 kB / 349.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.1394, allocations: 1.312 MB / 350.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1394, allocations: 0 / 350.7 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.14, allocations: 135.9 kB / 350.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.14, allocations: 4 kB / 350.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.14, allocations: 19.92 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1401, allocations: 3.938 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1401, allocations: 4 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.1419, allocations: 0.9939 MB / 351.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.142, allocations: 128.6 kB / 352 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.1421, allocations: 12.06 kB / 352 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.1425, allocations: 31.98 kB / 352 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.883e-05/0.1426, allocations: 44.5 kB / 352 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.1426, allocations: 19.98 kB / 352.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1428, allocations: 188.5 kB / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1428, allocations: 0 / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005852/0.1434, allocations: 179.4 kB / 352.4 MB, free: 11.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00022/0.1436, allocations: 139.1 kB / 352.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1448, allocations: 0.5507 MB / 353.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1448, allocations: 0 / 353.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.1454, allocations: 291.3 kB / 353.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.1459, allocations: 52.42 kB / 353.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1482, allocations: 1.311 MB / 354.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1486, allocations: 0.8463 MB / 355.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.1491, allocations: 75.41 kB / 355.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1493, allocations: 47.42 kB / 355.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1493, allocations: 0 / 355.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Templates: time 0.0104/0.1597, allocations: 4.652 MB / 360.4 MB, free: 3.199 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches