Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001471/0.001471, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001534/0.001534, allocations: 161.7 kB / 24.27 MB, free: 172 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.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3745/0.3745, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.105e-05/4.293e-05, allocations: 5.547 kB / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003611/0.003654, allocations: 1.677 MB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.005642, allocations: 0.9626 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.005727, allocations: 7.875 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.006085, allocations: 47.81 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.006469, allocations: 95.55 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.006696, allocations: 83.59 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.00702, allocations: 99.64 kB / 378.3 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.007075, allocations: 20.12 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.007196, allocations: 47.84 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.007298, allocations: 27.86 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.007323, allocations: 4 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.007423, allocations: 31.97 kB / 378.4 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.007508, allocations: 27.92 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.007582, allocations: 19.88 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.007856, allocations: 115.6 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.007861, allocations: 0 / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007862, allocations: 4 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.007869, allocations: 0 / 378.6 MB, free: 1.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007647/0.008634, allocations: 365.3 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.008678, allocations: 11.97 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.00875, allocations: 20.84 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.009087, allocations: 158.5 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.009109, allocations: 4.359 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.009125, allocations: 4.375 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.009309, allocations: 50.23 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.009325, allocations: 7.938 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.009337, allocations: 4 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.009342, allocations: 0 / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.009434, allocations: 19.92 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.009691, allocations: 137.3 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.009883, allocations: 50.61 kB / 379.4 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.009954, allocations: 20.84 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.009975, allocations: 0 / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.01017, allocations: 67.39 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.01017, allocations: 4 kB / 379.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000365/0.01054, allocations: 113.5 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.01059, allocations: 51.41 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.01094, allocations: 276.1 kB / 379.9 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.01096, allocations: 25.7 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01109, allocations: 116.2 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.01113, allocations: 11.81 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.01118, allocations: 25.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.01138, allocations: 326.8 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.01143, allocations: 12 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.0115, allocations: 33.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.01162, allocations: 49.64 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01163, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001861/0.01181, allocations: 93.52 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.01183, allocations: 8 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01184, allocations: 3.938 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.01187, allocations: 320 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.01195, allocations: 8 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01196, allocations: 4.031 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.01202, allocations: 11.98 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.01203, allocations: 7.938 kB / 380.7 MB, free: 15.35 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 (7): * Single equations (assignments): 7 * 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.0001549/0.01218, allocations: 129.8 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.01222, allocations: 15.91 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.01247, allocations: 110.7 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01248, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01248, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01248, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.01267, allocations: 145.2 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01267, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.0127, allocations: 8 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.0127, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.01271, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01271, allocations: 3.938 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01271, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01296, allocations: 128.9 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.01299, allocations: 7.953 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.01301, allocations: 7.984 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.01306, allocations: 3.938 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.0131, allocations: 8 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01311, allocations: 7.984 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.01334, allocations: 200.6 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01334, allocations: 0 / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00022/0.01356, allocations: 20 kB / 381.4 MB, free: 14.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002031/0.01559, allocations: 441.1 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01578, allocations: 43.92 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01578, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.01585, allocations: 24.05 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01619, allocations: 39.66 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.01679, allocations: 272.8 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.01692, allocations: 105.7 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.01697, allocations: 16.47 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.01701, allocations: 16.5 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01701, allocations: 0 / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005214/0.02223, allocations: 1.678 MB / 384.1 MB, free: 12.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.995619516936131]