Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009874/0.0009874, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00101/0.00101, allocations: 161 kB / 24.56 MB, free: 8 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.9766/0.9766, allocations: 177.1 MB / 205 MB, free: 5.621 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.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.195e-05, allocations: 5.688 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003719/0.003751, allocations: 1.778 MB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.005617, allocations: 1.001 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.005747, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.006186, allocations: 59.62 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.006701, allocations: 91.53 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.00704, allocations: 83.61 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.00728, allocations: 111.6 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.00739, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.007519, allocations: 55.83 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.007614, allocations: 31.84 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.007636, allocations: 8 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.007753, allocations: 43.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.007818, allocations: 27.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.007868, allocations: 23.86 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.008114, allocations: 99.66 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.008119, allocations: 7.938 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.00812, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.008126, allocations: 0 / 381.5 MB, free: 15.12 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.0006182/0.008744, allocations: 455.8 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.008793, allocations: 12.03 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.008869, allocations: 16.84 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.009124, allocations: 161.2 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.009151, allocations: 4.312 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.009179, allocations: 4.375 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.009359, allocations: 62.94 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.009376, allocations: 7.922 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.009387, allocations: 3.938 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.009396, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.009447, allocations: 12 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.009867, allocations: 291.8 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.01001, allocations: 55.17 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.01005, allocations: 23.56 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.01006, allocations: 4 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.01023, allocations: 65.05 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.01024, allocations: 0 / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005045/0.01074, allocations: 173.2 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.01078, allocations: 51.41 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.01099, allocations: 259.1 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.011, allocations: 29.7 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.01108, allocations: 162.9 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.01113, allocations: 27.78 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.01118, allocations: 27.38 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.0114, allocations: 0.4962 MB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.01144, allocations: 15.98 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.01149, allocations: 35.3 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.964e-05/0.01157, allocations: 47.31 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01157, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.01175, allocations: 101.6 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.01177, allocations: 12.02 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01177, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01179, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01189, allocations: 16 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.0119, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.01195, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.01196, allocations: 11.98 kB / 384.1 MB, free: 12.3 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 0.0001066/0.01207, allocations: 164.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.0121, allocations: 19.91 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.01232, allocations: 103.1 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.01233, allocations: 7.938 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01233, allocations: 3.938 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01233, allocations: 0 / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.01275, allocations: 401 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01276, allocations: 3.938 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.0128, allocations: 12 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01281, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01282, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01282, allocations: 4 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01282, allocations: 0 / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.01304, allocations: 263.4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.01306, allocations: 15.91 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.01308, allocations: 3.984 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.01315, allocations: 4.375 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.0132, allocations: 7.984 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.01322, allocations: 8 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.01334, allocations: 179.1 kB / 385.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01334, allocations: 4 kB / 385.3 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.01368, allocations: 23.94 kB / 385.3 MB, free: 11.01 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.001059/0.01473, allocations: 438 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.01492, allocations: 59.56 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01493, allocations: 4 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.01497, allocations: 35.61 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.01525, allocations: 33.11 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01568, allocations: 237.6 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01573, allocations: 75.39 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.126e-05/0.01577, allocations: 16.98 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.0158, allocations: 20.48 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01581, allocations: 0 / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.004066/0.01987, allocations: 2.022 MB / 388.3 MB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.1846745731309056]