Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008425/0.0008425, allocations: 84.44 kB / 20.69 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 173.2 kB / 23.97 MB, free: 0.5703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8172/0.8172, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 408.1 MB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.787e-05, allocations: 6.219 kB / 408.1 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001365/0.001393, allocations: 498.3 kB / 408.6 MB, free: 1.289 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.004559, allocations: 1.983 MB / 410.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.004582, allocations: 0 / 410.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.004602, allocations: 3.938 kB / 410.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.004622, allocations: 0 / 410.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.005643, allocations: 386.5 kB / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.935e-05/0.005693, allocations: 0 / 410.9 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.005734, allocations: 11.92 kB / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.845e-05/0.005762, allocations: 0 / 410.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007329/0.01309, allocations: 3.387 MB / 414.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.01311, allocations: 0 / 414.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.01319, allocations: 11.98 kB / 414.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.0132, allocations: 0 / 414.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.01322, allocations: 0 / 414.3 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.01339, allocations: 7.938 kB / 414.3 MB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01339, allocations: 4 kB / 414.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01339, allocations: 0 / 414.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.0134, allocations: 0 / 414.4 MB, free: 11.5 MB / 394.7 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.0003247/0.01372, allocations: 246.4 kB / 414.6 MB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.01377, allocations: 12.03 kB / 414.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.01398, allocations: 88.2 kB / 414.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.0141, allocations: 181 kB / 414.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.01414, allocations: 158.9 kB / 415 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.01418, allocations: 150.9 kB / 415.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.57e-05/0.01425, allocations: 105.5 kB / 415.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.01427, allocations: 79.22 kB / 415.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.01434, allocations: 154.6 kB / 415.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/0.0144, allocations: 150.6 kB / 415.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.184e-05/0.01446, allocations: 154.6 kB / 415.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.01474, allocations: 401.6 kB / 416.2 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.01485, allocations: 169.1 kB / 416.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.01489, allocations: 84.12 kB / 416.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.01493, allocations: 79.28 kB / 416.5 MB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.01499, allocations: 105.8 kB / 416.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.01499, allocations: 0 / 416.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.731e-05/0.01509, allocations: 29.64 kB / 416.7 MB, free: 9.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.01519, allocations: 186.1 kB / 416.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.01531, allocations: 89.86 kB / 416.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01533, allocations: 29.83 kB / 416.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.01537, allocations: 88.08 kB / 417 MB, free: 8.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.01537, allocations: 3.984 kB / 417 MB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.0154, allocations: 9.719 kB / 417 MB, free: 8.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01551, allocations: 314.8 kB / 417.4 MB, free: 8.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-06/0.01552, allocations: 4 kB / 417.4 MB, free: 8.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.01557, allocations: 65.12 kB / 417.4 MB, free: 8.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.01561, allocations: 75.28 kB / 417.5 MB, free: 8.152 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/0.01563, allocations: 79.28 kB / 417.6 MB, free: 8.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.654e-05/0.01568, allocations: 25.7 kB / 417.6 MB, free: 8.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.01572, allocations: 83.28 kB / 417.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.01575, allocations: 83.25 kB / 417.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.46e-05/0.01581, allocations: 154.5 kB / 417.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.01584, allocations: 79.27 kB / 418 MB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-05/0.01589, allocations: 158.5 kB / 418.1 MB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.01595, allocations: 75.28 kB / 418.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.01598, allocations: 87.22 kB / 418.3 MB, free: 7.332 MB / 394.7 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.0001157/0.0161, allocations: 256.4 kB / 418.6 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.01614, allocations: 113 kB / 418.7 MB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.01619, allocations: 119.6 kB / 418.8 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/0.01624, allocations: 180.2 kB / 419 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.655e-05/0.01629, allocations: 188.3 kB / 419.1 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/0.01634, allocations: 180.2 kB / 419.3 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01648, allocations: 353.1 kB / 419.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.01651, allocations: 104.9 kB / 419.8 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.01654, allocations: 105 kB / 419.9 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.351e-05/0.01658, allocations: 184.3 kB / 420 MB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.01663, allocations: 180.2 kB / 420.2 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/0.01667, allocations: 176.3 kB / 420.4 MB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.832e-05/0.01672, allocations: 192.1 kB / 420.6 MB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.01682, allocations: 299.8 kB / 420.9 MB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.01685, allocations: 112.9 kB / 421 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.01691, allocations: 184.2 kB / 421.2 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.01697, allocations: 108.9 kB / 421.3 MB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.01702, allocations: 184.2 kB / 421.5 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.01704, allocations: 105 kB / 421.6 MB, free: 3.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.01707, allocations: 75.28 kB / 421.6 MB, free: 3.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01707, allocations: 3.938 kB / 421.6 MB, free: 3.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000161/0.01723, allocations: 4 kB / 421.6 MB, free: 3.809 MB / 394.7 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.000105/0.01734, allocations: 174.5 kB / 421.8 MB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.165e-05/0.01739, allocations: 4.094 kB / 421.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01739, allocations: 0 / 421.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.01739, allocations: 4 kB / 421.8 MB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01764, allocations: 451.7 kB / 422.3 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001929/0.01783, allocations: 181.9 kB / 422.4 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01787, allocations: 55.36 kB / 422.5 MB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.251e-05/0.01788, allocations: 8.5 kB / 422.5 MB, free: 2.883 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01788, allocations: 3.938 kB / 422.5 MB, free: 2.879 MB / 394.7 MB Notification: Performance of Templates: time 0.001295/0.01918, allocations: 367.8 kB / 422.9 MB, free: 2.52 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.262313039042056]