Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001367/0.001367, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001468/0.001468, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.526/1.526, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 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.3107/0.3107, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.9e-05, allocations: 2.281 kB / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003418/0.003447, allocations: 1.922 MB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.005383, allocations: 1.001 MB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.005485, allocations: 4 kB / 445.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.005844, allocations: 47.62 kB / 445.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.006199, allocations: 95.44 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.006444, allocations: 107.5 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.006704, allocations: 151.5 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.00682, allocations: 21.8 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.006963, allocations: 75.75 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.007082, allocations: 39.83 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.00711, allocations: 8 kB / 446.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.007227, allocations: 47.92 kB / 446.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.007303, allocations: 31.83 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.007372, allocations: 23.94 kB / 446.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.007671, allocations: 163.4 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007674, allocations: 0 / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007675, allocations: 0 / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.00768, allocations: 0 / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007264/0.008406, allocations: 415 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.008445, allocations: 8.031 kB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.008509, allocations: 16.84 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.008825, allocations: 166.3 kB / 447.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.008843, allocations: 8.375 kB / 447.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.008872, allocations: 8.375 kB / 447.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.009163, allocations: 134.4 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.009175, allocations: 3.938 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.009195, allocations: 8 kB / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.0092, allocations: 0 / 447.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.009374, allocations: 55.89 kB / 447.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.009995, allocations: 448.7 kB / 447.7 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.01036, allocations: 86.66 kB / 447.8 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.01047, allocations: 36.83 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01049, allocations: 0 / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2237/0.2342, allocations: 115.4 kB / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 3.657e-06/0.2342, allocations: 0 / 448 MB, free: 19.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005855/0.2348, allocations: 146.9 kB / 448.1 MB, free: 19.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2348, allocations: 54.16 kB / 448.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.235, allocations: 206.6 kB / 448.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2351, allocations: 30.33 kB / 448.4 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.2351, allocations: 118 kB / 448.5 MB, free: 19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.2351, allocations: 30.73 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.2352, allocations: 31.77 kB / 448.6 MB, free: 18.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2353, allocations: 327.2 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2354, allocations: 29.38 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.2355, allocations: 66.75 kB / 449 MB, free: 18.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.2356, allocations: 98.92 kB / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2356, allocations: 0 / 449.1 MB, free: 18.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002602/0.2359, allocations: 148.7 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2359, allocations: 10.19 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2359, allocations: 1.062 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2359, allocations: 5.562 kB / 449.2 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2361, allocations: 21.28 kB / 449.3 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.2361, allocations: 2.234 kB / 449.3 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.2361, allocations: 17.08 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2361, allocations: 6.312 kB / 449.3 MB, free: 18.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.718e-05/0.2362, allocations: 127.9 kB / 449.4 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.2363, allocations: 20.08 kB / 449.4 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.2365, allocations: 137.7 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2366, allocations: 1.094 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2366, allocations: 1.688 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2366, allocations: 0.7031 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.2367, allocations: 146.4 kB / 449.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2367, allocations: 0 / 449.7 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.2368, allocations: 21.28 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2368, allocations: 1.656 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.2368, allocations: 1.703 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2368, allocations: 7.25 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2368, allocations: 0.5625 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.2372, allocations: 198 kB / 449.9 MB, free: 18.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.2372, allocations: 18.98 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2372, allocations: 1.891 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.2373, allocations: 11.31 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.2373, allocations: 7.969 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2373, allocations: 7.812 kB / 450 MB, free: 18.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.2375, allocations: 146.6 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2375, allocations: 3.938 kB / 450.1 MB, free: 18.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2377, allocations: 32.16 kB / 450.2 MB, free: 18.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001576/0.2393, allocations: 450.3 kB / 450.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.2395, allocations: 82.12 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2395, allocations: 1.156 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2396, allocations: 35.56 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.24, allocations: 35.62 kB / 450.7 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.2404, allocations: 257.7 kB / 451 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.968e-05/0.2405, allocations: 107 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.104e-05/0.2406, allocations: 19.08 kB / 451.1 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.2406, allocations: 22.77 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2406, allocations: 0 / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of Templates: time 0.005778/0.2464, allocations: 2.037 MB / 453.2 MB, free: 17.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 5.077470101416111]