Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.0007972/0.0007972, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009822/0.0009822, allocations: 173 kB / 24.14 MB, free: 360 kB / 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.9543/0.9543, allocations: 158.6 MB / 186 MB, free: 2.289 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.1514/0.1514, allocations: 32.37 MB / 270.7 MB, free: 14.57 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.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.067e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002011/0.002042, allocations: 0.5446 MB / 299.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.004157, allocations: 1.407 MB / 301 MB, free: 188 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.86e-05/0.004186, allocations: 0 / 301 MB, free: 188 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.004201, allocations: 0 / 301 MB, free: 188 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.004407, allocations: 4 kB / 301 MB, free: 184 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.142/0.1464, allocations: 244.2 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.1465, allocations: 5.906 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1466, allocations: 7.297 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.1466, allocations: 3.328 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.1466, allocations: 5.219 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.1467, allocations: 0.75 kB / 301.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.1496, allocations: 1.012 MB / 302.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1497, allocations: 3.938 kB / 302.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.1497, allocations: 1.531 kB / 302.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.1501, allocations: 213.1 kB / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1501, allocations: 0 / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1501, allocations: 1 kB / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.1501, allocations: 0 / 302.5 MB, free: 18.93 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002881/0.1504, allocations: 292.9 kB / 302.8 MB, free: 18.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1504, allocations: 9.344 kB / 302.8 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1504, allocations: 4.938 kB / 302.8 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.847e-05/0.1505, allocations: 104.5 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1505, allocations: 1.719 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.1505, allocations: 2.25 kB / 302.9 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.473e-05/0.1506, allocations: 55.41 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1506, allocations: 192 / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.1506, allocations: 2.031 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1506, allocations: 4.719 kB / 303 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.224e-05/0.1506, allocations: 29.58 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.223e-05/0.1507, allocations: 61.72 kB / 303.1 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.1507, allocations: 44.75 kB / 303.1 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.1507, allocations: 33.23 kB / 303.2 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-06/0.1508, allocations: 1.656 kB / 303.2 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1508, allocations: 61.92 kB / 303.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1508, allocations: 0 / 303.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001023/0.1509, allocations: 115.5 kB / 303.3 MB, free: 18.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.1509, allocations: 79.02 kB / 303.4 MB, free: 17.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.275e-05/0.1509, allocations: 101.8 kB / 303.5 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.1509, allocations: 30.92 kB / 303.5 MB, free: 17.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.013e-05/0.151, allocations: 82.75 kB / 303.6 MB, free: 17.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.151, allocations: 4.641 kB / 303.6 MB, free: 17.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.151, allocations: 13.02 kB / 303.6 MB, free: 17.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.151, allocations: 324.1 kB / 304 MB, free: 17.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.151, allocations: 28.03 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-06/0.151, allocations: 27.06 kB / 304 MB, free: 17.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.1511, allocations: 66.45 kB / 304.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1511, allocations: 0 / 304.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.586e-05/0.1511, allocations: 86.61 kB / 304.2 MB, free: 17.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1511, allocations: 36.48 kB / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1512, allocations: 0 / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1512, allocations: 0 / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-06/0.1512, allocations: 1.156 kB / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.1512, allocations: 0.7031 kB / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.1512, allocations: 8.969 kB / 304.2 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1512, allocations: 0 / 304.2 MB, free: 17.16 MB / 282.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.437e-05/0.1512, allocations: 136.5 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.1512, allocations: 1.906 kB / 304.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.1513, allocations: 8.406 kB / 304.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1513, allocations: 0 / 304.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1513, allocations: 1.438 kB / 304.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1513, allocations: 2.656 kB / 304.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.597e-05/0.1513, allocations: 68.83 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1513, allocations: 5.094 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.1513, allocations: 0.75 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1513, allocations: 2.297 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.1513, allocations: 4.344 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1513, allocations: 0.75 kB / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1513, allocations: 0 / 304.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.834e-05/0.1514, allocations: 117.5 kB / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.1514, allocations: 1.688 kB / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1514, allocations: 1.891 kB / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.1514, allocations: 0 / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-06/0.1514, allocations: 2 kB / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1514, allocations: 1.344 kB / 304.6 MB, free: 16.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.006e-05/0.1514, allocations: 17.2 kB / 304.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1514, allocations: 0 / 304.6 MB, free: 16.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.1517, allocations: 66.95 kB / 304.6 MB, free: 16.78 MB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007193/0.1524, allocations: 407.4 kB / 305 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.1525, allocations: 115.8 kB / 305.2 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1525, allocations: 0 / 305.2 MB, free: 16.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.1525, allocations: 93.52 kB / 305.2 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.262e-05/0.1526, allocations: 6.797 kB / 305.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001239/0.1527, allocations: 114.1 kB / 305.4 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.583e-05/0.1527, allocations: 53.52 kB / 305.4 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.1527, allocations: 1.25 kB / 305.4 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.1527, allocations: 57.69 kB / 305.5 MB, free: 16.06 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1527, allocations: 0 / 305.5 MB, free: 16.06 MB / 282.7 MB Notification: Performance of Templates: time 0.004792/0.1575, allocations: 1.893 MB / 307.4 MB, free: 15.84 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9556321520358324]