Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.001404/0.001404, 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.001563/0.001563, allocations: 169.3 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.089/1.089, 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.1457/0.1457, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.715e-05, allocations: 2.312 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002162/0.002189, allocations: 1.744 MB / 349.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.00308, allocations: 0.7765 MB / 350.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.003146, allocations: 7.938 kB / 350.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.00342, allocations: 43.75 kB / 350.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.003589, allocations: 55.77 kB / 350.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.003753, allocations: 87.69 kB / 350.5 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003873, allocations: 95.64 kB / 350.6 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.003957, allocations: 12.22 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.495e-05/0.004022, allocations: 55.77 kB / 350.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.00408, allocations: 19.92 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004095, allocations: 4 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.558e-05/0.004161, allocations: 43.92 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.004208, allocations: 27.91 kB / 350.7 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.004244, allocations: 23.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.004397, allocations: 99.59 kB / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.0044, allocations: 0 / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.004401, allocations: 0 / 350.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004405, allocations: 0 / 350.8 MB, free: 6.605 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.0003401/0.004745, allocations: 439.9 kB / 351.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.004781, allocations: 16.02 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.004819, allocations: 8.891 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.004944, allocations: 152.4 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.004958, allocations: 384 / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.004976, allocations: 12.33 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.005082, allocations: 62.94 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.005091, allocations: 3.938 kB / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.005099, allocations: 0 / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005105, allocations: 0 / 351.5 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.269e-05/0.005138, allocations: 11.98 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002427/0.00538, allocations: 279.8 kB / 351.8 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.005465, allocations: 55.16 kB / 351.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.005493, allocations: 19.62 kB / 351.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.005506, allocations: 8 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.077e-05/0.005587, allocations: 68.98 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.005588, allocations: 0 / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003472/0.005935, allocations: 153.3 kB / 352.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.005958, allocations: 55.39 kB / 352.2 MB, free: 5.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.006058, allocations: 228 kB / 352.4 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.006066, allocations: 25.7 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.006104, allocations: 150.9 kB / 352.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.006128, allocations: 31.73 kB / 352.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.006156, allocations: 31.36 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.006197, allocations: 0.4962 MB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.006217, allocations: 8.375 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.006247, allocations: 35.36 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.006297, allocations: 51.25 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006299, allocations: 8 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.468e-05/0.006384, allocations: 85.62 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006397, allocations: 8 kB / 353.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006402, allocations: 3.938 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.006414, allocations: 0 / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.00648, allocations: 16.03 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.006486, allocations: 7.984 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.006513, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.00652, allocations: 8 kB / 353.3 MB, free: 3.883 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 6.905e-05/0.006589, allocations: 164.5 kB / 353.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.006606, allocations: 19.91 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.006801, allocations: 102.5 kB / 353.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.006806, allocations: 0 / 353.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.006813, allocations: 4 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.00682, allocations: 0 / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.007058, allocations: 393 kB / 354 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.00706, allocations: 4 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.007086, allocations: 11.98 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.007089, allocations: 0 / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.007097, allocations: 3.938 kB / 354 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.0071, allocations: 4 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007101, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.007207, allocations: 259.4 kB / 354.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.007217, allocations: 7.953 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.007234, allocations: 4.031 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.007275, allocations: 11.98 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.007305, allocations: 4 kB / 354.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.007317, allocations: 7.922 kB / 354.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.007364, allocations: 172 kB / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007364, allocations: 0 / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.007526, allocations: 23.94 kB / 354.5 MB, free: 2.625 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.0008601/0.008386, allocations: 433.1 kB / 354.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.008493, allocations: 63.53 kB / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008494, allocations: 0 / 355 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.008528, allocations: 35.61 kB / 355 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.008747, allocations: 31.89 kB / 355.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.009049, allocations: 217.7 kB / 355.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.795e-05/0.009077, allocations: 67.33 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3e-05/0.009107, allocations: 16.47 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.009139, allocations: 24.62 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.00914, allocations: 0 / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of Templates: time 0.003312/0.01245, allocations: 1.838 MB / 357.2 MB, free: 15.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.334660127060488]