Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001574/0.001574, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001077/0.001077, allocations: 161 kB / 24.56 MB, free: 40 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.938/0.938, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.755e-05, allocations: 9.906 kB / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.006004/0.006042, allocations: 1.717 MB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.006974, allocations: 0.553 MB / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.007035, allocations: 0 / 378.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.007595, allocations: 451.1 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.01119, allocations: 291.2 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.01156, allocations: 139.5 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.01184, allocations: 171.7 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.01195, allocations: 15.98 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.01212, allocations: 123.6 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.01237, allocations: 243.6 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.01239, allocations: 4 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.01251, allocations: 51.91 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01263, allocations: 83.72 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.01268, allocations: 43.73 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.01298, allocations: 207.1 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01299, allocations: 0 / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01299, allocations: 3.938 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.01299, allocations: 0 / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.003737/0.01673, allocations: 0.7048 MB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.01677, allocations: 8.031 kB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.01684, allocations: 44.66 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.01707, allocations: 244.9 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.01708, allocations: 8.359 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.0171, allocations: 8.375 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.01724, allocations: 62.89 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01725, allocations: 192 / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.01726, allocations: 4.125 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.01727, allocations: 4 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.01731, allocations: 19.98 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.01779, allocations: 427.6 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.01788, allocations: 46.98 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.0179, allocations: 11.69 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01792, allocations: 0 / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.01795, allocations: 45.42 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.01795, allocations: 0 / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006489/0.0186, allocations: 252.7 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.01863, allocations: 59.41 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007452/0.01938, allocations: 0.6238 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.01939, allocations: 25.7 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003193/0.02259, allocations: 286.7 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.02262, allocations: 31.73 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.02266, allocations: 31.38 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.02283, allocations: 0.5586 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.02286, allocations: 7.984 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.589e-05/0.02289, allocations: 11.98 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.02295, allocations: 39.56 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.02295, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.02309, allocations: 110 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.02311, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.02312, allocations: 4 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.02313, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.02323, allocations: 15.98 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.02324, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.02327, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.02328, allocations: 0 / 383.8 MB, free: 12.66 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 (8): * Single equations (assignments): 8 * 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 8.881e-05/0.02337, allocations: 172.4 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.02342, allocations: 47.7 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.02361, allocations: 109.5 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.02361, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02362, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.02362, allocations: 7.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.0241, allocations: 0.5009 MB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.0241, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.02415, allocations: 19.98 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.02416, allocations: 0 / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.02416, allocations: 3.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02417, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.02417, allocations: 7.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.02434, allocations: 267.3 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.02437, allocations: 35.72 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.02439, allocations: 4.031 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.02446, allocations: 4 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.02449, allocations: 15.92 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.0245, allocations: 0 / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.02482, allocations: 426.8 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02482, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.02509, allocations: 35.88 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001087/0.02617, allocations: 439.7 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.0263, allocations: 47.66 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0263, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.02641, allocations: 27.62 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.02665, allocations: 25.95 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.02725, allocations: 0.6079 MB / 386.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.02732, allocations: 119.2 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.02736, allocations: 13.05 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.02739, allocations: 20.48 kB / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02739, allocations: 0 / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of Templates: time 0.004156/0.03155, allocations: 1.709 MB / 388.4 MB, free: 8.047 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.8766367118805647]