Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.000859/0.000859, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00104/0.00104, allocations: 161.4 kB / 24.56 MB, free: 20 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.004/1.004, allocations: 177.2 MB / 205 MB, free: 5.281 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.2455/0.2455, allocations: 34.26 MB / 295.7 MB, free: 0.6992 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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.383e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002933/0.002957, allocations: 1.769 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004676, allocations: 1.005 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.004745, allocations: 7.938 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.005031, allocations: 43.7 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.005347, allocations: 87.55 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.005541, allocations: 79.61 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.005724, allocations: 119.5 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.005812, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.005923, allocations: 55.83 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.006, allocations: 23.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.006019, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.006118, allocations: 47.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.006175, allocations: 19.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.006222, allocations: 23.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.006433, allocations: 99.59 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.006437, allocations: 4 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006438, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006442, allocations: 0 / 381.5 MB, free: 15.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004849/0.006927, allocations: 443.9 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.006964, allocations: 8.031 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.007014, allocations: 12.89 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007215, allocations: 152.4 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.007236, allocations: 8.312 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.007261, allocations: 4.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.0074, allocations: 58.94 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.007413, allocations: 7.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.007425, allocations: 3.984 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.007432, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.007476, allocations: 15.98 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.007797, allocations: 279.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.007913, allocations: 55.11 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.00795, allocations: 23.62 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.007963, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.008074, allocations: 73.05 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.008075, allocations: 0 / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004378/0.008513, allocations: 157.3 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.008543, allocations: 55.41 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.008703, allocations: 226.6 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.008718, allocations: 25.7 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.008788, allocations: 150.9 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.008818, allocations: 27.78 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.008862, allocations: 35.31 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.009, allocations: 0.4962 MB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.00903, allocations: 15.92 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.009079, allocations: 31.38 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.798e-05/0.009157, allocations: 59.34 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.009159, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001142/0.009273, allocations: 89.53 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.009288, allocations: 8 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009292, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.009304, allocations: 4.031 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.00937, allocations: 15.98 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009374, allocations: 3.938 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.009402, allocations: 8 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.009408, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.705e-05/0.009475, allocations: 168.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.009489, allocations: 7.953 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.009625, allocations: 103.1 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009627, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009631, allocations: 3.984 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.009635, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.009892, allocations: 392.9 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009893, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.009917, allocations: 12 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.009919, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.009925, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.009927, allocations: 4 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.00993, allocations: 3.984 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.01006, allocations: 259.4 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.01007, allocations: 15.94 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01009, allocations: 384 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.01013, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.01016, allocations: 7.984 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01017, allocations: 8 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.094e-05/0.01024, allocations: 171.7 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.01041, allocations: 31.92 kB / 385.2 MB, free: 11.15 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009289/0.01134, allocations: 431.6 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.01144, allocations: 55.61 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01144, allocations: 0 / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.01148, allocations: 31.67 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.0117, allocations: 35.28 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.012, allocations: 222.2 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.01204, allocations: 63.34 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.825e-05/0.01208, allocations: 21.09 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.01211, allocations: 12.5 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01211, allocations: 4 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.003287/0.0154, allocations: 1.876 MB / 387.9 MB, free: 8.543 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.2888934523798525]