Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001564/0.001564, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.00125/0.00125, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8804/0.8804, allocations: 158.6 MB / 185.7 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1473/0.1473, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.153e-05, allocations: 2.312 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.005259/0.00528, allocations: 1.736 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.006281, allocations: 0.8037 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.006351, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.006663, allocations: 47.69 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.006871, allocations: 55.77 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.007073, allocations: 87.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.00722, allocations: 99.64 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.249e-05/0.007302, allocations: 4.234 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.00738, allocations: 55.81 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.007451, allocations: 19.92 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.007472, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.007565, allocations: 43.92 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.007616, allocations: 27.91 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.007656, allocations: 15.94 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.007823, allocations: 103.5 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007827, allocations: 7.984 kB / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007827, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.007832, allocations: 0 / 350.8 MB, free: 6.246 MB / 282.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.0003929/0.008225, allocations: 443.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.008258, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.008307, allocations: 20.83 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.008452, allocations: 145.8 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.008469, allocations: 4.359 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.008488, allocations: 4.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.0086, allocations: 66.88 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.00861, allocations: 3.938 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.008621, allocations: 8 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.008628, allocations: 0 / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.008662, allocations: 11.98 kB / 351.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.00891, allocations: 279.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.009015, allocations: 63.08 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.009044, allocations: 23.56 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.009055, allocations: 4 kB / 351.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.444e-05/0.009139, allocations: 69.05 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.009141, allocations: 0 / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004033/0.009544, allocations: 149.6 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.009569, allocations: 55.39 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.009682, allocations: 232 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.009691, allocations: 25.7 kB / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.00973, allocations: 154.9 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.009756, allocations: 35.73 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.00979, allocations: 31.36 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.00984, allocations: 0.4962 MB / 353.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.009866, allocations: 16.12 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.47e-05/0.0099, allocations: 39.36 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.009959, allocations: 51.3 kB / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.00996, allocations: 0 / 353.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.01007, allocations: 89.58 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.01008, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01009, allocations: 0 / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.0101, allocations: 4 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.01017, allocations: 15.98 kB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01018, allocations: 4.031 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.01021, allocations: 4 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.01022, allocations: 3.938 kB / 353.4 MB, free: 3.5 MB / 282.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 4.798e-05/0.01026, allocations: 164.5 kB / 353.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.01028, allocations: 19.89 kB / 353.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.01344, allocations: 107.2 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01345, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01345, allocations: 0 / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01345, allocations: 3.984 kB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.0137, allocations: 397 kB / 354 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.0137, allocations: 0 / 354 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.01373, allocations: 12 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01373, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.01374, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01374, allocations: 4 kB / 354.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01374, allocations: 3.938 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01386, allocations: 259.4 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.01387, allocations: 15.94 kB / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01389, allocations: 0 / 354.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.01395, allocations: 4 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01398, allocations: 12.02 kB / 354.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.01399, allocations: 4 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.01405, allocations: 171.8 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01405, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01431, allocations: 27.92 kB / 354.5 MB, free: 2.23 MB / 282.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.001004/0.01532, allocations: 443.2 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01543, allocations: 55.55 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.01544, allocations: 0 / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.01548, allocations: 31.73 kB / 355.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.01576, allocations: 35.83 kB / 355.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.01609, allocations: 225.4 kB / 355.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436e-05/0.01612, allocations: 71.33 kB / 355.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.01615, allocations: 12.48 kB / 355.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.01619, allocations: 20.48 kB / 355.4 MB, free: 1.391 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01619, allocations: 4.062 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Templates: time 0.009992/0.02618, allocations: 1.977 MB / 357.4 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.168331332039088]