Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001098/0.001098, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00094/0.00094, allocations: 165 kB / 24.56 MB, free: 12 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 1.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.625 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.2729/0.2729, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.474e-05, allocations: 6.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001916/0.001931, allocations: 1.704 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.002579, allocations: 0.5453 MB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.002623, allocations: 0 / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.003031, allocations: 451.1 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.003391, allocations: 299.2 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.003621, allocations: 127.5 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.003799, allocations: 171.6 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.003879, allocations: 11.98 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.003976, allocations: 119.8 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.00414, allocations: 239.5 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004156, allocations: 4 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.004222, allocations: 39.91 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.004302, allocations: 83.72 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.004339, allocations: 35.73 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004534, allocations: 195.2 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004536, allocations: 4 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004537, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004541, allocations: 0 / 382.1 MB, free: 14.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000508/0.005049, allocations: 0.6931 MB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.005082, allocations: 12.03 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.005134, allocations: 44.66 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.0053, allocations: 244.8 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.005312, allocations: 4.375 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.005329, allocations: 384 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005436, allocations: 58.95 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005447, allocations: 8.125 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.005459, allocations: 8.125 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.005467, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/0.005501, allocations: 11.98 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.005883, allocations: 431.6 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.006033, allocations: 46.92 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.006052, allocations: 7.688 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.006069, allocations: 4 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.006089, allocations: 41.39 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.00609, allocations: 0 / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003358/0.006425, allocations: 188.8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.006455, allocations: 51.41 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.006837, allocations: 0.6355 MB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.006848, allocations: 25.7 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.006979, allocations: 282.8 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.006999, allocations: 11.84 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.007027, allocations: 27.36 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004161/0.007443, allocations: 0.5509 MB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.007463, allocations: 4 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.007477, allocations: 7.984 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.765e-05/0.007515, allocations: 39.75 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007516, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.994e-05/0.007606, allocations: 93.41 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.007617, allocations: 8 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.007621, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.007632, allocations: 3.938 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.054e-05/0.007673, allocations: 8 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007678, allocations: 3.984 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.007703, allocations: 4 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.007707, allocations: 0 / 385.6 MB, free: 10.89 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 (5): * Single equations (assignments): 5 * 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 6.66e-05/0.007774, allocations: 164.5 kB / 385.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.007808, allocations: 51.66 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.007927, allocations: 97.17 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007929, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007931, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007934, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.00824, allocations: 477.2 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008241, allocations: 0 / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.008271, allocations: 8 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008274, allocations: 0 / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.00828, allocations: 4 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008282, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008283, allocations: 4.188 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.008399, allocations: 247.6 kB / 386.6 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.008422, allocations: 35.7 kB / 386.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.008438, allocations: 0 / 386.6 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.008474, allocations: 4 kB / 386.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.0085, allocations: 0 / 386.6 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.008506, allocations: 11.92 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.008746, allocations: 426.8 kB / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008747, allocations: 0 / 387.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.008918, allocations: 27.92 kB / 387.1 MB, free: 9.285 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 (5): * Single equations (assignments): 5 * 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.0008485/0.009766, allocations: 376.8 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.009872, allocations: 35.67 kB / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009874, allocations: 0 / 387.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.009901, allocations: 27.55 kB / 387.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.01015, allocations: 30.56 kB / 387.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.01074, allocations: 0.5627 MB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.01081, allocations: 123.2 kB / 388.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.789e-05/0.01084, allocations: 7.984 kB / 388.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.01086, allocations: 16.5 kB / 388.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01086, allocations: 4 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of Templates: time 0.00451/0.01537, allocations: 1.461 MB / 389.7 MB, free: 6.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.213898600079119]