Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 107.8 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 222.4 kB / 18.59 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 64.55 kB / 307 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.0934, allocations: 50.55 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005808/0.09924, allocations: 4.174 MB / 361.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.1021, allocations: 1.736 MB / 363.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1022, allocations: 8 kB / 363.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.1045, allocations: 1.019 MB / 364.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.105, allocations: 238.2 kB / 364.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1065, allocations: 0.7552 MB / 365.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.1071, allocations: 0.6101 MB / 366.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/0.1078, allocations: 0.4996 MB / 366.6 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.1082, allocations: 255.1 kB / 366.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.1086, allocations: 334.6 kB / 367.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/0.1087, allocations: 56 kB / 367.2 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.1092, allocations: 291.7 kB / 367.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1093, allocations: 131.5 kB / 367.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002883/0.1096, allocations: 314.5 kB / 367.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.1106, allocations: 0.9267 MB / 368.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1107, allocations: 4 kB / 368.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1107, allocations: 0 / 368.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1107, allocations: 0 / 368.9 MB, free: 2.613 MB / 302.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.003611/0.1143, allocations: 1.225 MB / 370.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1143, allocations: 8.031 kB / 370.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.1155, allocations: 172.1 kB / 370.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1158, allocations: 245.7 kB / 370.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.1158, allocations: 54.38 kB / 370.6 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1159, allocations: 64.38 kB / 370.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1172, allocations: 0.7077 MB / 371.3 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1172, allocations: 4 kB / 371.3 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.1173, allocations: 24 kB / 371.4 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.1173, allocations: 16 kB / 371.4 MB, free: 0 / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1369/0.2542, allocations: 0.5989 MB / 372 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.2576, allocations: 2.336 MB / 374.3 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.259, allocations: 1.625 MB / 375.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.2595, allocations: 278.3 kB / 376.2 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.2597, allocations: 188.6 kB / 376.4 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2597, allocations: 41.62 kB / 376.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.2597, allocations: 1.125 kB / 376.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001443/0.2611, allocations: 0.706 MB / 377.1 MB, free: 16.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2612, allocations: 111 kB / 377.3 MB, free: 16.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.2614, allocations: 253.6 kB / 377.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2615, allocations: 39.05 kB / 377.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2616, allocations: 265.6 kB / 377.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.862e-05/0.2617, allocations: 225.8 kB / 378 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2619, allocations: 116.7 kB / 378.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2619, allocations: 345.5 kB / 378.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.2624, allocations: 219.1 kB / 378.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.2629, allocations: 300.4 kB / 379 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008877/0.2638, allocations: 0.5136 MB / 379.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2638, allocations: 0 / 379.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001125/0.2649, allocations: 0.6402 MB / 380.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2649, allocations: 9.875 kB / 380.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2649, allocations: 1.344 kB / 380.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.265, allocations: 6.188 kB / 380.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.2657, allocations: 155.5 kB / 380.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.2657, allocations: 6.453 kB / 380.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.2661, allocations: 76.27 kB / 380.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.2662, allocations: 23.66 kB / 380.4 MB, free: 14.74 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.2664, allocations: 184.5 kB / 380.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.2665, allocations: 41.06 kB / 380.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.2676, allocations: 0.6058 MB / 381.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2676, allocations: 8.375 kB / 381.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2677, allocations: 0 / 381.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2677, allocations: 3.234 kB / 381.2 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.2696, allocations: 1.298 MB / 382.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2696, allocations: 0 / 382.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.2701, allocations: 128.8 kB / 382.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2701, allocations: 3.5 kB / 382.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.2702, allocations: 14.28 kB / 382.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2702, allocations: 5.5 kB / 382.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2702, allocations: 1.703 kB / 382.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.2717, allocations: 0.9774 MB / 383.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.2717, allocations: 129.5 kB / 383.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.2718, allocations: 16.25 kB / 383.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.2722, allocations: 26.64 kB / 383.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2723, allocations: 44.06 kB / 383.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.2723, allocations: 22.34 kB / 383.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2725, allocations: 191.6 kB / 384.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2725, allocations: 0.9844 kB / 384.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.2731, allocations: 180.5 kB / 384.3 MB, free: 12.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002179/0.2733, allocations: 150 kB / 384.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.2746, allocations: 0.5596 MB / 385 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2746, allocations: 1.906 kB / 385 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.2751, allocations: 271.9 kB / 385.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2756, allocations: 50.83 kB / 385.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.2775, allocations: 1.052 MB / 386.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.2778, allocations: 0.8453 MB / 387.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.2782, allocations: 74.64 kB / 387.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.2783, allocations: 46.08 kB / 387.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2783, allocations: 1.094 kB / 387.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01052/0.2888, allocations: 5.012 MB / 392.3 MB, free: 9.473 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches