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.001032/0.001032, allocations: 96.78 kB / 16.94 MB, free: 5.98 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.001086/0.001086, allocations: 180.1 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.475/1.475, allocations: 205.4 MB / 224 MB, free: 13.11 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.0004705/0.0004707, allocations: 12 kB / 280.7 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.59 MB / 328.3 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004419/0.1051, allocations: 3.281 MB / 331.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.1083, allocations: 1.544 MB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.1087, allocations: 12 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.1094, allocations: 167 kB / 333.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000901/0.1103, allocations: 223.3 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.112, allocations: 0.6349 MB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008187/0.1128, allocations: 435.1 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.1145, allocations: 0.8061 MB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.1149, allocations: 227.2 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.1155, allocations: 278.8 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1156, allocations: 24 kB / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000671/0.1163, allocations: 211.8 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1164, allocations: 99.58 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.1166, allocations: 129.4 kB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.1176, allocations: 0.6663 MB / 337 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1176, allocations: 4 kB / 337 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.88e-06/0.1176, allocations: 4 kB / 337 MB, free: 11.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.1176, allocations: 0 / 337 MB, free: 11.3 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.003714/0.1213, allocations: 1.104 MB / 338.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1214, allocations: 8.031 kB / 338.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.1226, allocations: 175.1 kB / 338.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1229, allocations: 242.9 kB / 338.6 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/0.123, allocations: 50 kB / 338.6 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.1232, allocations: 68 kB / 338.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.1247, allocations: 0.7074 MB / 339.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.1247, allocations: 3.906 kB / 339.4 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.1248, allocations: 28 kB / 339.4 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.1248, allocations: 16 kB / 339.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.1261, allocations: 0.6179 MB / 340.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.1299, allocations: 2.324 MB / 342.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.132, allocations: 1.687 MB / 344.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.1321, allocations: 97.8 kB / 344.2 MB, free: 3.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1322, allocations: 43.06 kB / 344.2 MB, free: 3.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 3.406e-06/0.1322, allocations: 0 / 344.2 MB, free: 3.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.00166/0.1339, allocations: 0.7327 MB / 344.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.134, allocations: 111.3 kB / 345 MB, free: 2.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1343, allocations: 264.9 kB / 345.3 MB, free: 2.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.1343, allocations: 33.7 kB / 345.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.1345, allocations: 268.1 kB / 345.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.1347, allocations: 224.7 kB / 345.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1347, allocations: 12 kB / 345.8 MB, free: 1.961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1349, allocations: 346.8 kB / 346.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005311/0.1354, allocations: 217.9 kB / 346.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.136, allocations: 305.4 kB / 346.7 MB, free: 1.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.1366, allocations: 259.1 kB / 346.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1366, allocations: 7.953 kB / 346.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001285/0.1379, allocations: 0.6414 MB / 347.6 MB, free: 172 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.1379, allocations: 8 kB / 347.6 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1379, allocations: 3.938 kB / 347.6 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.138, allocations: 4 kB / 347.6 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.1387, allocations: 163.8 kB / 347.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1387, allocations: 11.94 kB / 347.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.1393, allocations: 79.3 kB / 347.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.1394, allocations: 23.98 kB / 347.9 MB, free: 15.88 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.0002575/0.1396, allocations: 181.7 kB / 348 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1397, allocations: 47.47 kB / 348.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.1411, allocations: 0.6163 MB / 348.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1411, allocations: 8 kB / 348.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1411, allocations: 7.984 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1411, allocations: 3.984 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.1435, allocations: 1.319 MB / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1435, allocations: 0 / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.1441, allocations: 127.9 kB / 350.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.1441, allocations: 8 kB / 350.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.1442, allocations: 15.98 kB / 350.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.1442, allocations: 4 kB / 350.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1442, allocations: 0 / 350.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.1459, allocations: 1.015 MB / 351.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.146, allocations: 124.6 kB / 351.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.1461, allocations: 12 kB / 351.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.1465, allocations: 31.97 kB / 351.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1467, allocations: 44.45 kB / 351.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.1467, allocations: 24.06 kB / 351.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1469, allocations: 184.5 kB / 351.6 MB, free: 12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1469, allocations: 0 / 351.6 MB, free: 12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000677/0.1476, allocations: 183.4 kB / 351.8 MB, free: 11.82 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.0003037/0.1479, allocations: 135.1 kB / 351.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1492, allocations: 0.5507 MB / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1492, allocations: 0 / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.1498, allocations: 287.4 kB / 352.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1502, allocations: 36.36 kB / 352.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.1526, allocations: 1.318 MB / 354.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1531, allocations: 0.8502 MB / 355 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004412/0.1536, allocations: 87.39 kB / 355.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1537, allocations: 47.36 kB / 355.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1537, allocations: 0 / 355.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of Templates: time 0.011/0.1647, allocations: 4.627 MB / 359.7 MB, free: 3.828 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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