Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001363/0.001363, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00116/0.00116, allocations: 168 kB / 24.99 MB, free: 8.289 MB / 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.04/1.04, allocations: 177.1 MB / 205.3 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.2763/0.2763, allocations: 32.8 MB / 294.6 MB, free: 1.309 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.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.712e-05, allocations: 2.312 kB / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002206/0.002223, allocations: 1.774 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003724, allocations: 1.001 MB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.003802, allocations: 0 / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.004104, allocations: 47.7 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.004412, allocations: 103.5 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.004561, allocations: 75.62 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.004719, allocations: 107.7 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.004809, allocations: 4 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.004887, allocations: 59.77 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.004955, allocations: 27.91 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.00497, allocations: 4 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.005041, allocations: 43.92 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.005095, allocations: 27.91 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.005134, allocations: 23.86 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005305, allocations: 99.59 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.005309, allocations: 4 kB / 379.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.00531, allocations: 4 kB / 379.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005315, allocations: 0 / 379.5 MB, free: 1.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000441/0.005756, allocations: 451.8 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.00579, allocations: 8.031 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.00584, allocations: 16.83 kB / 379.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.006009, allocations: 156.9 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.00603, allocations: 8.375 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.006049, allocations: 384 / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.006168, allocations: 62.94 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00618, allocations: 7.875 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.006189, allocations: 4 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.006198, allocations: 0 / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.029e-05/0.006239, allocations: 11.98 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.006527, allocations: 283.8 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006628, allocations: 55.17 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.006659, allocations: 23.55 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.00667, allocations: 0 / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/0.006767, allocations: 73.03 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.006768, allocations: 4 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003733/0.007141, allocations: 165.3 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.007184, allocations: 51.41 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.007329, allocations: 233.9 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.007344, allocations: 29.7 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.007399, allocations: 154.8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.007426, allocations: 31.77 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.007458, allocations: 27.38 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.007571, allocations: 0.4962 MB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.007597, allocations: 15.98 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.007631, allocations: 39.3 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.007685, allocations: 47.31 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007686, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.893e-05/0.007785, allocations: 89.58 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.007799, allocations: 10.03 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007804, allocations: 3.984 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.007817, allocations: 0 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.007882, allocations: 12 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.007888, allocations: 4 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.007915, allocations: 7.984 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.007922, allocations: 8 kB / 382 MB, free: 14.7 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 7.246e-05/0.007995, allocations: 172.4 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.008011, allocations: 15.95 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.008163, allocations: 103.3 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.008165, allocations: 7.938 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008169, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.008172, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.008445, allocations: 392.9 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.008447, allocations: 4.031 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.008476, allocations: 11.98 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008477, allocations: 4 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.008487, allocations: 4 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008488, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00849, allocations: 4 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.008628, allocations: 255.4 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.008639, allocations: 15.91 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.008654, allocations: 0 / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.008695, allocations: 12.36 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.008725, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.008738, allocations: 11.98 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.008823, allocations: 184.1 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008823, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.008995, allocations: 23.94 kB / 383.2 MB, free: 13.42 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.0009787/0.009973, allocations: 433.6 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01009, allocations: 51.66 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01009, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.01013, allocations: 35.73 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01036, allocations: 39.7 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.01067, allocations: 225.9 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01072, allocations: 71.33 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.01075, allocations: 17.22 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.01078, allocations: 20.48 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01078, allocations: 3.938 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003737/0.01452, allocations: 1.87 MB / 386 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.2964566100854427]