Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.0009903/0.0009903, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001133/0.001133, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9973/0.9973, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2838/0.2838, allocations: 34.26 MB / 295.7 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.531e-05, allocations: 2.312 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002051/0.002067, allocations: 1.653 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.002762, allocations: 0.5297 MB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.002809, allocations: 0 / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.003238, allocations: 451 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.003608, allocations: 299.2 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.003822, allocations: 123.6 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.004002, allocations: 163.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.004087, allocations: 12.11 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.004186, allocations: 111.8 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.004369, allocations: 243.6 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.004387, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.004446, allocations: 27.88 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.004536, allocations: 87.66 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.004573, allocations: 35.73 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.004776, allocations: 187.2 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.004778, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004779, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004783, allocations: 0 / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000642/0.005425, allocations: 0.6854 MB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.005462, allocations: 8.031 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.005514, allocations: 44.66 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.005692, allocations: 244.8 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.005703, allocations: 4.375 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.005713, allocations: 4.375 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.005819, allocations: 58.94 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.005825, allocations: 192 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005834, allocations: 3.938 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00584, allocations: 0 / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.005866, allocations: 15.98 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.006216, allocations: 411.6 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.006262, allocations: 35 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.00628, allocations: 7.688 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.006301, allocations: 3.984 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.006324, allocations: 45.45 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006325, allocations: 3.938 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.006471, allocations: 77.36 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.006498, allocations: 55.41 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.006898, allocations: 0.6316 MB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006909, allocations: 25.7 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.007045, allocations: 282.8 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.007059, allocations: 3.953 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.007084, allocations: 19.38 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.00723, allocations: 0.5508 MB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.007242, allocations: 8.125 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.00725, allocations: 4 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.007274, allocations: 11.69 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007276, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.126e-05/0.007347, allocations: 97.28 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.007359, allocations: 5.875 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007364, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.007376, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.007432, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007436, allocations: 4.094 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.007459, allocations: 4 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007464, allocations: 0 / 385.3 MB, free: 11.2 MB / 362.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 (2): * Single equations (assignments): 2 * 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 7.377e-05/0.007538, allocations: 156.6 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.00757, allocations: 47.66 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.007668, allocations: 76.69 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.007669, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.007672, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.007674, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.007858, allocations: 276.5 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007859, allocations: 4.031 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.00788, allocations: 11.92 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007883, allocations: 4 kB / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.007888, allocations: 0 / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007889, allocations: 0 / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.00789, allocations: 0 / 385.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.304e-05/0.007983, allocations: 223.7 kB / 386 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.008008, allocations: 39.66 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.008021, allocations: 3.938 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.008056, allocations: 4 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.008069, allocations: 7.969 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.00807, allocations: 0 / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.008305, allocations: 426.8 kB / 386.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008306, allocations: 0 / 386.5 MB, free: 9.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.008491, allocations: 19.94 kB / 386.5 MB, free: 9.855 MB / 362.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 (2): * Single equations (assignments): 2 * 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.0007092/0.0092, allocations: 332 kB / 386.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.009279, allocations: 15.69 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009281, allocations: 4.062 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.275e-05/0.009293, allocations: 15.67 kB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.009531, allocations: 33.88 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.01009, allocations: 0.5627 MB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.01016, allocations: 115.3 kB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.199e-05/0.01018, allocations: 4 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.0102, allocations: 16.48 kB / 387.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0102, allocations: 0 / 387.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of Templates: time 0.003445/0.01365, allocations: 1.139 MB / 388.8 MB, free: 7.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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: 3.1684293900616467]