Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001517/0.001517, allocations: 88.33 kB / 20.95 MB, free: 3.578 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.001599/0.001599, allocations: 161.3 kB / 24.27 MB, free: 276 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.501/1.501, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.4081/0.4081, allocations: 34.27 MB / 295.3 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.14e-05, allocations: 2.312 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00391/0.003941, allocations: 1.727 MB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.006129, allocations: 0.9742 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.006228, allocations: 0 / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004145/0.006643, allocations: 43.7 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.00705, allocations: 99.55 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.007283, allocations: 75.53 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.007517, allocations: 115.6 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.007615, allocations: 4 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.007735, allocations: 51.83 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.007829, allocations: 27.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.007854, allocations: 8 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.007965, allocations: 43.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.00804, allocations: 31.84 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.008093, allocations: 15.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.008366, allocations: 115.6 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.008372, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008374, allocations: 0 / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.008378, allocations: 0 / 380.7 MB, free: 15.52 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.0006716/0.00905, allocations: 341.5 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.009095, allocations: 16.02 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.009164, allocations: 20.84 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.009517, allocations: 154.3 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.009533, allocations: 384 / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.009564, allocations: 4.375 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.009735, allocations: 54.23 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.009752, allocations: 3.938 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.009768, allocations: 4 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.009773, allocations: 0 / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.00986, allocations: 23.92 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.01029, allocations: 236.5 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.01049, allocations: 58.67 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.01057, allocations: 24.78 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01058, allocations: 0 / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01076, allocations: 71.33 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01076, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000669/0.01143, allocations: 177.7 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.01149, allocations: 55.41 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.01175, allocations: 202.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.01177, allocations: 33.7 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.01187, allocations: 112.1 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.01192, allocations: 27.78 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.01196, allocations: 17.72 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.01218, allocations: 326.8 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.01225, allocations: 24.05 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.01233, allocations: 41.7 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.01248, allocations: 69.64 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01248, allocations: 0 / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002238/0.01271, allocations: 113.5 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01272, allocations: 6.031 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.01274, allocations: 4 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.01276, allocations: 0 / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.01285, allocations: 12 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01286, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.01291, allocations: 11.98 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01292, allocations: 4 kB / 382.9 MB, free: 13.12 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.0001293/0.01305, allocations: 125.3 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.0131, allocations: 23.94 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.01339, allocations: 123 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01339, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0134, allocations: 0 / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0134, allocations: 4 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.01393, allocations: 350.9 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01393, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.01397, allocations: 11.94 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01397, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01398, allocations: 0 / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01398, allocations: 4.031 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-05/0.014, allocations: 4 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.01432, allocations: 220.2 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.01434, allocations: 11.91 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.01437, allocations: 3.984 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.01445, allocations: 8 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.01449, allocations: 7.984 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.01451, allocations: 4 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.01467, allocations: 152.2 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01467, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.01497, allocations: 35.92 kB / 384 MB, free: 11.99 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.002291/0.01726, allocations: 491.5 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.01748, allocations: 63.91 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01748, allocations: 0 / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.01758, allocations: 40.06 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01796, allocations: 28.06 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.01853, allocations: 233.6 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.01865, allocations: 92.3 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.0187, allocations: 17.09 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.01875, allocations: 16.5 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01875, allocations: 0 / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005728/0.02448, allocations: 1.872 MB / 386.8 MB, free: 9.336 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.900590204983018]