Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008023/0.0008023, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001184/0.001986, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001372/0.001372, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002898, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08629/1.053, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.31/0.31, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0219/0.3319, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.65e-05, allocations: 3.891 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00216/0.002187, allocations: 2 MB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003511, allocations: 1.06 MB / 295.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.003597, allocations: 0 / 295.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.003785, allocations: 43.64 kB / 295.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.003983, allocations: 99.41 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.00416, allocations: 95.58 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004333, allocations: 155.5 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.004419, allocations: 22.39 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.004553, allocations: 111.5 kB / 296.3 MB, free: 2.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.004637, allocations: 43.83 kB / 296.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.004654, allocations: 8 kB / 296.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.004731, allocations: 43.98 kB / 296.4 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.00477, allocations: 19.92 kB / 296.4 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.004807, allocations: 27.88 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004979, allocations: 127.5 kB / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.004993, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.004994, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.005007, allocations: 0 / 296.6 MB, free: 2.348 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004726/0.005479, allocations: 410.5 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.005506, allocations: 12.03 kB / 297 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.005543, allocations: 16.92 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005703, allocations: 162.3 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.005718, allocations: 8.359 kB / 297.1 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.005737, allocations: 8.375 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.005878, allocations: 135.1 kB / 297.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.005886, allocations: 3.938 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005894, allocations: 0 / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.0059, allocations: 0 / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.968e-05/0.005939, allocations: 40.19 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.006231, allocations: 374 kB / 297.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.006377, allocations: 105.3 kB / 297.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.006398, allocations: 12.86 kB / 297.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.00641, allocations: 4 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.006512, allocations: 95.84 kB / 297.9 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.006513, allocations: 4 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001172/0.00663, allocations: 69.67 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.006656, allocations: 59.33 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.00676, allocations: 193.6 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006775, allocations: 29.7 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.006819, allocations: 104 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.006843, allocations: 35.72 kB / 298.4 MB, free: 332 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.006881, allocations: 25.7 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.006963, allocations: 330.7 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.006983, allocations: 14.81 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.888e-05/0.007012, allocations: 40.3 kB / 298.8 MB, free: 15.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.007071, allocations: 85.88 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007072, allocations: 4 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.35e-05/0.007156, allocations: 84.36 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.007166, allocations: 4 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007171, allocations: 4 kB / 299 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.007179, allocations: 4.125 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.007243, allocations: 31.92 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.007247, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.007276, allocations: 7.953 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.007284, allocations: 7.984 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.038e-05/0.007344, allocations: 124.5 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.007356, allocations: 11.98 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.007447, allocations: 71.14 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.007448, allocations: 0 / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.00745, allocations: 3.984 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007453, allocations: 4 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.606e-05/0.007529, allocations: 105.8 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007531, allocations: 3.938 kB / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.007575, allocations: 23.86 kB / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.007589, allocations: 15.89 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007591, allocations: 0 / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007598, allocations: 0 / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007599, allocations: 0 / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.007601, allocations: 4 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.007708, allocations: 115.8 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.007723, allocations: 12.03 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.544e-05/0.007749, allocations: 7.984 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.007771, allocations: 3.984 kB / 299.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.007789, allocations: 8 kB / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.007831, allocations: 53.41 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007831, allocations: 0 / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.007954, allocations: 31.89 kB / 299.6 MB, free: 14.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001075/0.009029, allocations: 0.5464 MB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.837e-05/0.009117, allocations: 64.69 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.009124, allocations: 4 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.947e-05/0.009154, allocations: 20.86 kB / 300.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.009288, allocations: 55.02 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.00969, allocations: 257.8 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.009721, allocations: 67.84 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.009771, allocations: 17.73 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.358e-05/0.009845, allocations: 79.3 kB / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009845, allocations: 0 / 300.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Templates: time 0.003413/0.01326, allocations: 2.243 MB / 303 MB, free: 11.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.978398321196437]