Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001224/0.001224, allocations: 84.77 kB / 20.68 MB, free: 1.035 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.001365/0.001365, allocations: 165.3 kB / 23.96 MB, free: 4.164 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.389/1.389, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] 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.2052/0.2052, allocations: 32.8 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 3.984 kB / 440.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.87e-05, allocations: 2.281 kB / 440.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00279/0.002809, allocations: 1.723 MB / 441.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.004539, allocations: 0.9888 MB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.004593, allocations: 0 / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.004853, allocations: 51.75 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.005147, allocations: 99.47 kB / 443.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.005336, allocations: 87.53 kB / 443.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.005544, allocations: 131.6 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.005625, allocations: 11.97 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.005736, allocations: 63.83 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005847, allocations: 51.81 kB / 443.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.005874, allocations: 8 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.005986, allocations: 59.91 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.006044, allocations: 27.92 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.006101, allocations: 35.84 kB / 443.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.006332, allocations: 139.6 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006334, allocations: 0 / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006335, allocations: 4 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.006338, allocations: 0 / 443.7 MB, free: 4.559 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.0005785/0.006917, allocations: 377.3 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.006954, allocations: 8.031 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.007001, allocations: 16.78 kB / 444.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.007225, allocations: 157.6 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.007242, allocations: 8.375 kB / 444.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.007264, allocations: 8.375 kB / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.007491, allocations: 74.16 kB / 444.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.007507, allocations: 3.938 kB / 444.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.007517, allocations: 0 / 444.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007525, allocations: 4 kB / 444.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.007672, allocations: 59.88 kB / 444.4 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.008097, allocations: 260.5 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.008493, allocations: 94.5 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.008586, allocations: 40.83 kB / 444.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.008606, allocations: 0 / 444.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.008807, allocations: 79.38 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.008809, allocations: 4 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009168/0.009726, allocations: 309.1 kB / 445.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.009783, allocations: 59.41 kB / 445.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01001, allocations: 203.8 kB / 445.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.01003, allocations: 25.7 kB / 445.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.01011, allocations: 112.3 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.01017, allocations: 47.64 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.01023, allocations: 33.7 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01039, allocations: 326.8 kB / 445.9 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.01049, allocations: 39.98 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.0106, allocations: 61.69 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.0108, allocations: 108.2 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0108, allocations: 7.875 kB / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003075/0.01111, allocations: 165.5 kB / 446.3 MB, free: 1.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01113, allocations: 8.031 kB / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01113, allocations: 0 / 446.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01115, allocations: 4 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01125, allocations: 23.98 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01125, allocations: 0 / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.01131, allocations: 8 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01132, allocations: 4 kB / 446.3 MB, free: 1.691 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.0001323/0.01145, allocations: 134.4 kB / 446.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01148, allocations: 15.91 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.01188, allocations: 191.2 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.01189, allocations: 8 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01189, allocations: 0 / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.0119, allocations: 11.97 kB / 446.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.01254, allocations: 447.7 kB / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01254, allocations: 3.938 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.01262, allocations: 23.98 kB / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01262, allocations: 0 / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01264, allocations: 8 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01264, allocations: 0 / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01264, allocations: 12 kB / 447.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.01302, allocations: 288.5 kB / 447.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01304, allocations: 11.91 kB / 447.5 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.01307, allocations: 4 kB / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.01315, allocations: 7.984 kB / 447.5 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.0132, allocations: 19.92 kB / 447.5 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.01321, allocations: 7.938 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.01337, allocations: 155.2 kB / 447.7 MB, free: 300 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01337, allocations: 0 / 447.7 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.01366, allocations: 39.92 kB / 447.7 MB, free: 260 kB / 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.1792/0.1929, allocations: 0.5491 MB / 448.3 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.1933, allocations: 104.1 kB / 448.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1933, allocations: 3.75 kB / 448.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1934, allocations: 58.16 kB / 448.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1938, allocations: 30.56 kB / 448.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.1943, allocations: 294.2 kB / 448.7 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.1944, allocations: 110.5 kB / 448.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1944, allocations: 30.72 kB / 448.9 MB, free: 21.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.1945, allocations: 21.81 kB / 448.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1945, allocations: 1.062 kB / 448.9 MB, free: 21.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005579/0.2001, allocations: 2.345 MB / 451.2 MB, free: 21.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.5810753889381886]