Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001254/0.001254, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001517/0.001517, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 1.042/1.042, allocations: 158.6 MB / 186 MB, free: 2.926 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.126/0.126, allocations: 32.37 MB / 270.7 MB, free: 14.79 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.047e-05, allocations: 8.219 kB / 347.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002219/0.002249, allocations: 1.738 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009102/0.003159, allocations: 0.7882 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.003246, allocations: 3.938 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.003568, allocations: 43.75 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.003784, allocations: 55.77 kB / 350.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.003989, allocations: 87.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004138, allocations: 95.64 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004243, allocations: 12.22 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.004321, allocations: 55.77 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.004398, allocations: 19.92 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.004417, allocations: 7.984 kB / 350.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.004495, allocations: 43.92 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.004549, allocations: 31.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.004593, allocations: 15.94 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004784, allocations: 95.59 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.004789, allocations: 3.984 kB / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00479, allocations: 0 / 350.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.004795, allocations: 0 / 350.8 MB, free: 6.59 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.0004365/0.005232, allocations: 451.9 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.005276, allocations: 11.97 kB / 351.3 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.005333, allocations: 20.83 kB / 351.3 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.005491, allocations: 141.9 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.005509, allocations: 4.359 kB / 351.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.005529, allocations: 8.375 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.005659, allocations: 58.94 kB / 351.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00567, allocations: 7.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.00568, allocations: 4 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005688, allocations: 0 / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.005722, allocations: 11.98 kB / 351.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.006, allocations: 283.7 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.006111, allocations: 55.16 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.006142, allocations: 23.62 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.006157, allocations: 7.938 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.006268, allocations: 68.98 kB / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.006269, allocations: 0 / 352 MB, free: 5.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004337/0.006703, allocations: 153.4 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.006734, allocations: 55.39 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.006838, allocations: 232 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.006847, allocations: 29.7 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.006886, allocations: 150.9 kB / 352.6 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.006908, allocations: 27.75 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.006939, allocations: 35.36 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.006984, allocations: 0.4962 MB / 353.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.007007, allocations: 8.375 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.007037, allocations: 35.36 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.007086, allocations: 55.23 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007088, allocations: 4 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.716e-05/0.007185, allocations: 89.62 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.007201, allocations: 4 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.007209, allocations: 4 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.007228, allocations: 7.969 kB / 353.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.007327, allocations: 15.98 kB / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.007336, allocations: 0 / 353.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.007373, allocations: 4 kB / 353.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.007383, allocations: 4 kB / 353.4 MB, free: 3.84 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 8.019e-05/0.007463, allocations: 164.5 kB / 353.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.007484, allocations: 19.89 kB / 353.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.007691, allocations: 107.2 kB / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.007696, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.007701, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.007707, allocations: 7.984 kB / 353.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.008013, allocations: 389 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.008016, allocations: 4 kB / 354 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.008051, allocations: 8 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.008055, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.008065, allocations: 0 / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.008068, allocations: 7.938 kB / 354.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.00807, allocations: 0 / 354.1 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.0082, allocations: 263.3 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.008218, allocations: 11.94 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.008244, allocations: 8.031 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.008292, allocations: 4 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.008341, allocations: 11.97 kB / 354.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.008357, allocations: 4 kB / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.239e-05/0.008419, allocations: 171.8 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.008419, allocations: 0 / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.008614, allocations: 27.92 kB / 354.5 MB, free: 2.566 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.0009395/0.009553, allocations: 435.8 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.009697, allocations: 63.55 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009699, allocations: 0 / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.009739, allocations: 31.61 kB / 355.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.009998, allocations: 39.83 kB / 355.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.01036, allocations: 213.4 kB / 355.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.01039, allocations: 71.33 kB / 355.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.374e-05/0.01043, allocations: 16.61 kB / 355.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.01046, allocations: 20.48 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.01047, allocations: 0 / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Templates: time 0.003807/0.01427, allocations: 1.841 MB / 357.3 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.6045448610093445]