Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.001761/0.001761, allocations: 103.9 kB / 16.92 MB, free: 5.766 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.001728/0.001728, allocations: 191.5 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009868/0.000987, allocations: 44.02 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08881, allocations: 49.46 MB / 350.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005448/0.09429, allocations: 4.171 MB / 354.2 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.09695, allocations: 1.623 MB / 355.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.09731, allocations: 12 kB / 355.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.09951, allocations: 1.011 MB / 356.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007453/0.1003, allocations: 230.2 kB / 357.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1019, allocations: 0.8085 MB / 357.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.1028, allocations: 0.6183 MB / 358.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007699/0.1035, allocations: 0.4996 MB / 359 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.1039, allocations: 267 kB / 359.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.1044, allocations: 334.7 kB / 359.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1045, allocations: 56 kB / 359.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.1051, allocations: 263.8 kB / 359.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1052, allocations: 135.5 kB / 360.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.1056, allocations: 302.5 kB / 360.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1066, allocations: 0.9072 MB / 361.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1066, allocations: 4 kB / 361.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1066, allocations: 4 kB / 361.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.1066, allocations: 0 / 361.3 MB, free: 9.145 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.003652/0.1103, allocations: 1.206 MB / 362.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1103, allocations: 8.031 kB / 362.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1115, allocations: 176 kB / 362.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1117, allocations: 245.2 kB / 362.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.1117, allocations: 54.31 kB / 363 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1119, allocations: 64.38 kB / 363 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1131, allocations: 0.7076 MB / 363.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1131, allocations: 4 kB / 363.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/0.1132, allocations: 28 kB / 363.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1132, allocations: 20 kB / 363.8 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.1145, allocations: 0.5985 MB / 364.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003226/0.1178, allocations: 2.328 MB / 366.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1194, allocations: 1.625 MB / 368.3 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.1199, allocations: 279.3 kB / 368.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.12, allocations: 93.64 kB / 368.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1201, allocations: 43.12 kB / 368.7 MB, free: 1.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.1201, allocations: 0 / 368.7 MB, free: 1.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001593/0.1217, allocations: 0.6977 MB / 369.4 MB, free: 496 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1218, allocations: 115.4 kB / 369.6 MB, free: 356 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.122, allocations: 264.9 kB / 369.8 MB, free: 80 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.1221, allocations: 37.64 kB / 369.8 MB, free: 36 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1377/0.2598, allocations: 259.4 kB / 370.1 MB, free: 25.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.26, allocations: 222.6 kB / 370.3 MB, free: 25.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.2602, allocations: 117.8 kB / 370.4 MB, free: 25.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2603, allocations: 347.1 kB / 370.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.2608, allocations: 209.9 kB / 371 MB, free: 24.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.2613, allocations: 304.5 kB / 371.3 MB, free: 24.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.2623, allocations: 0.5132 MB / 371.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2624, allocations: 0.6875 kB / 371.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001245/0.2636, allocations: 0.632 MB / 372.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2636, allocations: 6.219 kB / 372.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2636, allocations: 5.141 kB / 372.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2637, allocations: 4.688 kB / 372.4 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.2644, allocations: 162 kB / 372.6 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2644, allocations: 8.406 kB / 372.6 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.2649, allocations: 73.41 kB / 372.7 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.265, allocations: 24.06 kB / 372.7 MB, free: 24.62 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.0001844/0.2652, allocations: 191.8 kB / 372.9 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.2653, allocations: 37.88 kB / 372.9 MB, free: 24.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.2666, allocations: 0.6048 MB / 373.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2666, allocations: 10.78 kB / 373.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2666, allocations: 4.719 kB / 373.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2666, allocations: 4.516 kB / 373.5 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2686, allocations: 1.291 MB / 374.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2686, allocations: 5.156 kB / 374.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.2691, allocations: 124.4 kB / 375 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2692, allocations: 2.781 kB / 375 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.2692, allocations: 18.34 kB / 375 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.2692, allocations: 2.656 kB / 375 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.2692, allocations: 4.828 kB / 375 MB, free: 23.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2707, allocations: 0.9742 MB / 376 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.2708, allocations: 124.1 kB / 376.1 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.2708, allocations: 12.97 kB / 376.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.2713, allocations: 28.44 kB / 376.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.2714, allocations: 39.52 kB / 376.2 MB, free: 22.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.2714, allocations: 22.52 kB / 376.2 MB, free: 22.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.2716, allocations: 192.1 kB / 376.4 MB, free: 22.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2716, allocations: 3.219 kB / 376.4 MB, free: 22.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.2721, allocations: 174.3 kB / 376.5 MB, free: 22.62 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.000205/0.2724, allocations: 144.7 kB / 376.7 MB, free: 22.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.2737, allocations: 0.5636 MB / 377.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2738, allocations: 0.6562 kB / 377.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.2742, allocations: 279.2 kB / 377.5 MB, free: 22.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.2747, allocations: 52.38 kB / 377.6 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2765, allocations: 1.077 MB / 378.7 MB, free: 21.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.2768, allocations: 0.854 MB / 379.5 MB, free: 20.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.2772, allocations: 77.7 kB / 379.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2773, allocations: 44.53 kB / 379.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2773, allocations: 4 kB / 379.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of Templates: time 0.009916/0.2872, allocations: 5.156 MB / 384.8 MB, free: 19.94 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches