Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001302/0.001302, allocations: 84.23 kB / 20.68 MB, free: 1.023 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: 163.4 kB / 23.95 MB, free: 4.156 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.47/1.47, allocations: 177.1 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.218/0.218, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.606e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.005153/0.005189, allocations: 1.727 MB / 444.5 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.008562, allocations: 0.9859 MB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.00879, allocations: 0 / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.009412, allocations: 47.75 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000829/0.01024, allocations: 99.52 kB / 445.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.01074, allocations: 87.48 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.01114, allocations: 131.7 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.01129, allocations: 7.938 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.01152, allocations: 75.75 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.01171, allocations: 47.88 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.01174, allocations: 8 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.01199, allocations: 55.92 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.0121, allocations: 31.84 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.358e-05/0.0122, allocations: 27.92 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004802/0.01268, allocations: 151.5 kB / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.01269, allocations: 0 / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01269, allocations: 0 / 446.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.0127, allocations: 4 kB / 446.2 MB, free: 1.809 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009561/0.01365, allocations: 369.3 kB / 446.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.01371, allocations: 8.031 kB / 446.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.695e-05/0.0138, allocations: 16.83 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.01419, allocations: 157.6 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.01422, allocations: 8.375 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.01426, allocations: 4.359 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.01456, allocations: 82.14 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.01458, allocations: 3.938 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.0146, allocations: 0 / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.01461, allocations: 4 kB / 446.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.01483, allocations: 51.95 kB / 446.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000702/0.01553, allocations: 268.5 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.01605, allocations: 94.5 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.01618, allocations: 28.84 kB / 447.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.01621, allocations: 4 kB / 447.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.01648, allocations: 83.31 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.943e-06/0.01648, allocations: 0 / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001505/0.01798, allocations: 328.4 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.01805, allocations: 59.41 kB / 447.8 MB, free: 144 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2627/0.2808, allocations: 202.7 kB / 448 MB, free: 19.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2808, allocations: 28.77 kB / 448 MB, free: 19.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.2809, allocations: 107 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.2809, allocations: 40.64 kB / 448.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.281, allocations: 29.66 kB / 448.2 MB, free: 19.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.281, allocations: 331.9 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2812, allocations: 37.8 kB / 448.5 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2813, allocations: 65.28 kB / 448.6 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.2815, allocations: 105.8 kB / 448.7 MB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2815, allocations: 0.75 kB / 448.7 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003141/0.2818, allocations: 163.4 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2818, allocations: 9.188 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2818, allocations: 2.016 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.2818, allocations: 1.156 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2819, allocations: 26.59 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2819, allocations: 1.188 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.282, allocations: 3.219 kB / 448.9 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.282, allocations: 7.828 kB / 448.9 MB, free: 18.88 MB / 366.1 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 (15): * Single equations (assignments): 15 * 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.0001018/0.2821, allocations: 132 kB / 449 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.2821, allocations: 15.72 kB / 449.1 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.2825, allocations: 202 kB / 449.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2825, allocations: 6.188 kB / 449.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2826, allocations: 3.219 kB / 449.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2826, allocations: 0.6562 kB / 449.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.2831, allocations: 456.2 kB / 449.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2831, allocations: 0.5156 kB / 449.7 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.2832, allocations: 30.45 kB / 449.7 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2832, allocations: 5.281 kB / 449.7 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2832, allocations: 2.812 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2832, allocations: 2.328 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2832, allocations: 1.125 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.2836, allocations: 285.2 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2836, allocations: 14.62 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2836, allocations: 6.766 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.2837, allocations: 3.859 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.2838, allocations: 17.61 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2838, allocations: 7.578 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.2839, allocations: 155 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 3.781 kB / 450.2 MB, free: 18.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.2842, allocations: 37.41 kB / 450.3 MB, free: 18.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002063/0.2862, allocations: 0.5537 MB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.2865, allocations: 104.3 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2865, allocations: 1.188 kB / 450.9 MB, free: 17.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.2866, allocations: 54.84 kB / 451 MB, free: 17.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.287, allocations: 38.52 kB / 451 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.2876, allocations: 301.5 kB / 451.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.2877, allocations: 104.5 kB / 451.4 MB, free: 17.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.2877, allocations: 26.92 kB / 451.4 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.2878, allocations: 23.64 kB / 451.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2878, allocations: 0 / 451.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of Templates: time 0.006651/0.2944, allocations: 2.352 MB / 453.8 MB, free: 17.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.023692909628153]