Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001706, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001991/0.001991, allocations: 201.9 kB / 18.77 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.285/2.285, allocations: 222.9 MB / 242.5 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4215/0.4215, allocations: 44.17 MB / 336.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 60.94 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2075, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.003237/0.2108, allocations: 0.5411 MB / 469.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.216, allocations: 2.061 MB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.216, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.2161, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.2162, allocations: 3.938 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.218, allocations: 279.4 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.2181, allocations: 4 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.2182, allocations: 0 / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.2182, allocations: 0 / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05016/0.2684, allocations: 3.21 MB / 475.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2684, allocations: 0 / 475.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2686, allocations: 4 kB / 475.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2686, allocations: 4 kB / 475.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2686, allocations: 3.938 kB / 475.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2688, allocations: 16 kB / 475.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2688, allocations: 0 / 475.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2688, allocations: 3.938 kB / 475.3 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2688, allocations: 0 / 475.3 MB, free: 9.207 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004798/0.2693, allocations: 315.5 kB / 475.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.2694, allocations: 8.031 kB / 475.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.2697, allocations: 88.2 kB / 475.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2699, allocations: 243.7 kB / 475.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.27, allocations: 150.9 kB / 476.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/0.2701, allocations: 154.7 kB / 476.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.2702, allocations: 104.9 kB / 476.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.2703, allocations: 79.28 kB / 476.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-05/0.2704, allocations: 150.6 kB / 476.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.712e-05/0.2705, allocations: 154.6 kB / 476.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.2706, allocations: 150.6 kB / 476.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.271, allocations: 445.9 kB / 477.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.2712, allocations: 173.1 kB / 477.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.2713, allocations: 88.08 kB / 477.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.898e-05/0.2713, allocations: 75.28 kB / 477.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.857e-05/0.2714, allocations: 109.8 kB / 477.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.2714, allocations: 0 / 477.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001191/0.2716, allocations: 29.7 kB / 477.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.2717, allocations: 182.1 kB / 477.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2719, allocations: 97.8 kB / 478 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2719, allocations: 25.7 kB / 478.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.272, allocations: 80.14 kB / 478.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.272, allocations: 4 kB / 478.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.272, allocations: 9.719 kB / 478.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2722, allocations: 314.8 kB / 478.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.2722, allocations: 0 / 478.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.2723, allocations: 21.78 kB / 478.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.2723, allocations: 75.28 kB / 478.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-05/0.2724, allocations: 75.28 kB / 478.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 9.163e-05/0.2725, allocations: 37.62 kB / 478.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.2725, allocations: 79.28 kB / 478.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/0.2726, allocations: 79.22 kB / 478.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-05/0.2727, allocations: 154.6 kB / 479 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.2727, allocations: 83.25 kB / 479 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.858e-05/0.2728, allocations: 154.6 kB / 479.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.273, allocations: 79.33 kB / 479.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.273, allocations: 83.22 kB / 479.4 MB, free: 4.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.00018/0.2732, allocations: 260.4 kB / 479.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2733, allocations: 108.9 kB / 479.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.2734, allocations: 112 kB / 479.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.2735, allocations: 184.2 kB / 480 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.294e-05/0.2736, allocations: 176.3 kB / 480.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/0.2737, allocations: 188.2 kB / 480.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2741, allocations: 397.2 kB / 480.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.555e-05/0.2742, allocations: 108.9 kB / 480.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.2742, allocations: 113 kB / 481 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.887e-05/0.2743, allocations: 176.3 kB / 481.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.997e-05/0.2745, allocations: 180.2 kB / 481.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.354e-05/0.2746, allocations: 180.3 kB / 481.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.291e-05/0.2747, allocations: 184.2 kB / 481.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.2749, allocations: 315.7 kB / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.275, allocations: 182.1 kB / 482.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.2751, allocations: 176.3 kB / 482.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2753, allocations: 112.9 kB / 482.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2754, allocations: 184.7 kB / 482.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.2755, allocations: 104.9 kB / 482.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.2755, allocations: 75.28 kB / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2755, allocations: 0 / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.2759, allocations: 4 kB / 482.8 MB, free: 1.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001724/0.2761, allocations: 167.1 kB / 483 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.2762, allocations: 4.094 kB / 483 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.2762, allocations: 0 / 483 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.766e-06/0.2762, allocations: 8 kB / 483 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.2768, allocations: 0.5293 MB / 483.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.2771, allocations: 179.7 kB / 483.7 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.2775, allocations: 0.6809 MB / 484.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.2776, allocations: 7.438 kB / 484.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2776, allocations: 0 / 484.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Templates: time 0.00241/0.28, allocations: 351.7 kB / 484.7 MB, free: 15.23 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches