Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009432/0.0009432, 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.001183/0.001183, allocations: 165.4 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.9804/0.9804, allocations: 177.1 MB / 205 MB, free: 5.293 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.2713/0.2713, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.183e-05, allocations: 2.312 kB / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002347/0.002369, allocations: 1.758 MB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003994, allocations: 1.734 MB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.004063, allocations: 0 / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.004324, allocations: 39.7 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.004634, allocations: 107.5 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.004798, allocations: 79.59 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.004941, allocations: 115.6 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.783e-05/0.005019, allocations: 7.984 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.005096, allocations: 63.77 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.005191, allocations: 31.89 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.005207, allocations: 8 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.005342, allocations: 99.81 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.005388, allocations: 23.92 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.005425, allocations: 19.92 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.005637, allocations: 163.4 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.005639, allocations: 4 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00564, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005643, allocations: 0 / 382.4 MB, free: 14.31 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.0004389/0.006082, allocations: 451.8 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.006116, allocations: 8.031 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.006166, allocations: 16.89 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.006329, allocations: 149.5 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.006345, allocations: 384 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.006367, allocations: 8.375 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.006511, allocations: 111.4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006522, allocations: 7.953 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.006531, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.006537, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.679e-05/0.006574, allocations: 11.98 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.006849, allocations: 295.7 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.006944, allocations: 51.17 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.006972, allocations: 15.69 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006983, allocations: 4 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.844e-05/0.007071, allocations: 65.05 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007072, allocations: 7.938 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003608/0.007433, allocations: 153.4 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.007467, allocations: 81.05 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.007597, allocations: 220 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.00761, allocations: 25.7 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.00766, allocations: 146.9 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.007682, allocations: 23.8 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.007715, allocations: 31.36 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.007818, allocations: 0.4961 MB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.007842, allocations: 12 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.007883, allocations: 68.75 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.007939, allocations: 59.36 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.00794, allocations: 0 / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.724e-05/0.008037, allocations: 89.58 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.008049, allocations: 8 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008053, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008065, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.00813, allocations: 19.92 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008135, allocations: 7.938 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.008165, allocations: 8.062 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008171, allocations: 4 kB / 385 MB, free: 11.44 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.016e-05/0.008241, allocations: 164.5 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.008256, allocations: 11.95 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.008394, allocations: 102.4 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008397, allocations: 0 / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.0084, allocations: 0 / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.008403, allocations: 4 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.008678, allocations: 392.9 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.00868, allocations: 4.031 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.008703, allocations: 8.375 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008705, allocations: 4 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.008713, allocations: 4 kB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008714, allocations: 0 / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008716, allocations: 3.938 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.008847, allocations: 251.5 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.00886, allocations: 19.88 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.008877, allocations: 4 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.008917, allocations: 3.984 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.008947, allocations: 19.92 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.008958, allocations: 4 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.009027, allocations: 162 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009027, allocations: 0 / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.009222, allocations: 47.86 kB / 386.2 MB, free: 10.17 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.001106/0.01033, allocations: 0.5435 MB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01046, allocations: 51.59 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01046, allocations: 0 / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/0.0105, allocations: 35.61 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01072, allocations: 35.55 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.01107, allocations: 205.9 kB / 387 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.01111, allocations: 63.34 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.01115, allocations: 20.95 kB / 387.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.01119, allocations: 20.48 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01119, allocations: 0 / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004292/0.01548, allocations: 2.756 MB / 389.9 MB, free: 6.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.2875670841895044]