Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.002728/0.002728, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002852/0.002852, allocations: 169.3 kB / 24.28 MB, free: 148 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3569/0.3569, allocations: 32.8 MB / 293.9 MB, free: 1.184 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.13e-05, allocations: 9.766 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003652/0.003683, allocations: 1.739 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005659, allocations: 0.9859 MB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.005734, allocations: 8 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.006039, allocations: 51.62 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.006363, allocations: 95.53 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.00658, allocations: 75.66 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.006795, allocations: 111.6 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.006887, allocations: 11.97 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.007008, allocations: 51.84 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.007088, allocations: 23.92 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.007111, allocations: 4 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.007225, allocations: 51.84 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.007289, allocations: 23.92 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.007341, allocations: 19.92 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.0076, allocations: 123.5 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007603, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007604, allocations: 0 / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.007609, allocations: 0 / 378.7 MB, free: 1.504 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006458/0.008255, allocations: 451.5 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.008291, allocations: 8.031 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.008361, allocations: 28.83 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.008631, allocations: 156.8 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.008648, allocations: 4.375 kB / 379.3 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.008669, allocations: 4.375 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.00881, allocations: 50.23 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.008824, allocations: 3.938 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.008834, allocations: 4 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.008838, allocations: 0 / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.008914, allocations: 15.98 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.009363, allocations: 307.8 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.009558, allocations: 59.17 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.009623, allocations: 31.55 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.00964, allocations: 4 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.009799, allocations: 72.98 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.093e-06/0.0098, allocations: 0 / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005786/0.01038, allocations: 181.5 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.01046, allocations: 55.34 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.01072, allocations: 257.9 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01075, allocations: 25.7 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01086, allocations: 166.8 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.0109, allocations: 23.81 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.01095, allocations: 27.38 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/0.01124, allocations: 0.5079 MB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.0113, allocations: 16.19 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.01138, allocations: 47.36 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.01152, allocations: 71.23 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01152, allocations: 0 / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.01172, allocations: 97.62 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01174, allocations: 8 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01175, allocations: 4.031 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01176, allocations: 0 / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.01185, allocations: 19.92 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01186, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.01191, allocations: 4 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01192, allocations: 4 kB / 381.4 MB, free: 14.61 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 (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 0.0001353/0.01205, allocations: 172.4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.01209, allocations: 15.91 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.01237, allocations: 123.2 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01237, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01238, allocations: 8 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01238, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.01292, allocations: 416.9 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.01292, allocations: 3.984 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.01297, allocations: 12 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01297, allocations: 0 / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.01298, allocations: 7.984 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01298, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01298, allocations: 7.875 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.01332, allocations: 267.5 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.01334, allocations: 23.86 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.01337, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.01344, allocations: 4 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.01348, allocations: 11.98 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.0135, allocations: 4 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.01367, allocations: 188.1 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01367, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.01392, allocations: 23.98 kB / 382.6 MB, free: 13.26 MB / 362.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.003342/0.01726, allocations: 497.9 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.01748, allocations: 71.53 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01749, allocations: 0 / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.01758, allocations: 43.61 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.01796, allocations: 28.09 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005701/0.01853, allocations: 245.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.01864, allocations: 92.81 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.553e-05/0.0187, allocations: 17.27 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.01875, allocations: 16.5 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01875, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00609/0.02484, allocations: 1.867 MB / 385.5 MB, free: 10.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.145469423034228]