Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001373/0.001373, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001578/0.001578, allocations: 173.6 kB / 24.91 MB, free: 8.77 MB / 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 0.9786/0.9786, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 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.2767/0.2767, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.388e-05, allocations: 3.078 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.006074/0.006108, allocations: 1.763 MB / 325.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.01034, allocations: 1.016 MB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.01045, allocations: 0 / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.01076, allocations: 39.7 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.01114, allocations: 95.48 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.01139, allocations: 79.66 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.01159, allocations: 103.6 kB / 326.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.01168, allocations: 13.36 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.01178, allocations: 51.84 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.01187, allocations: 35.89 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.01189, allocations: 7.938 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.01199, allocations: 43.92 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.01205, allocations: 19.88 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.01208, allocations: 23.91 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.01228, allocations: 99.66 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01228, allocations: 0 / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.01228, allocations: 0 / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01229, allocations: 0 / 326.7 MB, free: 6.223 MB / 298.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.0004662/0.01276, allocations: 321.3 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01279, allocations: 8.031 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.01283, allocations: 24.86 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.01299, allocations: 139.5 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.01301, allocations: 4.375 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.01303, allocations: 4.375 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.01315, allocations: 61.77 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01317, allocations: 7.922 kB / 327.2 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.01318, allocations: 8 kB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.01318, allocations: 0 / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.01321, allocations: 11.98 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.01343, allocations: 165.9 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.01353, allocations: 89.28 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.01355, allocations: 16.92 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.01356, allocations: 0 / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/0.01365, allocations: 62.16 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.01365, allocations: 0 / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003229/0.01397, allocations: 113.5 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.014, allocations: 51.41 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.01411, allocations: 180.8 kB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.01412, allocations: 37.64 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.01415, allocations: 96.11 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01418, allocations: 27.77 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.01421, allocations: 17.72 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.0143, allocations: 326.8 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.01432, allocations: 14.81 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.01435, allocations: 17.72 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.01439, allocations: 56.56 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01439, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.686e-05/0.01447, allocations: 72.39 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01448, allocations: 7.984 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01449, allocations: 4 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.01451, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.01458, allocations: 15.94 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.01459, allocations: 3.938 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.01462, allocations: 4 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.01463, allocations: 7.984 kB / 328.6 MB, free: 4.105 MB / 298.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.209e-05/0.01471, allocations: 112.7 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.01473, allocations: 15.92 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.01488, allocations: 79.11 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01488, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.01488, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01489, allocations: 384 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.01517, allocations: 299.4 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01517, allocations: 7.984 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.0152, allocations: 8 kB / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.0152, allocations: 0 / 329.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.0152, allocations: 4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01521, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01521, allocations: 4.031 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.01532, allocations: 223 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.01533, allocations: 7.953 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.01535, allocations: 4 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.01538, allocations: 0 / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.01541, allocations: 11.98 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.01543, allocations: 4 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.01547, allocations: 47.64 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01547, allocations: 0 / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000151/0.01562, allocations: 23.94 kB / 329.5 MB, free: 3.199 MB / 298.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.001278/0.0169, allocations: 0.5847 MB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01701, allocations: 44.78 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.01701, allocations: 64 / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.01704, allocations: 28.84 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.01724, allocations: 31.84 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.01757, allocations: 223.7 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.01761, allocations: 63.34 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.01765, allocations: 17.28 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.01772, allocations: 67.36 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01772, allocations: 4.062 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003727/0.02144, allocations: 2.023 MB / 332.5 MB, free: 404 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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: 2.993391120340675]