Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0007863/0.0007863, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001909, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007075/0.0007075, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.00162, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9193/0.9193, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08711/1.006, allocations: 53.67 MB / 243.4 MB, free: 15.52 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.2496/0.2496, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02193/0.2715, allocations: 13.1 MB / 291.5 MB, free: 7.344 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.804e-05, allocations: 5.297 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001809/0.001827, allocations: 1.701 MB / 294.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.00244, allocations: 0.5491 MB / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.002485, allocations: 0 / 295.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.002655, allocations: 95.61 kB / 295.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.00282, allocations: 111.4 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003003, allocations: 103.6 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.003134, allocations: 87.75 kB / 295.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.202e-05/0.003206, allocations: 19.91 kB / 295.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.003295, allocations: 67.88 kB / 295.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.003372, allocations: 43.88 kB / 295.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003386, allocations: 4 kB / 295.6 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.003458, allocations: 43.92 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.003495, allocations: 19.94 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.003516, allocations: 11.94 kB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003642, allocations: 95.53 kB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.003651, allocations: 4 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003651, allocations: 4 kB / 295.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.003659, allocations: 0 / 295.8 MB, free: 3.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003227/0.003982, allocations: 329.1 kB / 296.1 MB, free: 2.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.004008, allocations: 8.031 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.004035, allocations: 12.92 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.004151, allocations: 150 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-06/0.004156, allocations: 384 / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.004176, allocations: 8.359 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.924e-05/0.004255, allocations: 58.94 kB / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004262, allocations: 192 / 296.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.004269, allocations: 8.125 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004272, allocations: 3.938 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.004291, allocations: 8 kB / 296.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.004487, allocations: 182.9 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.004529, allocations: 26.56 kB / 296.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.004542, allocations: 8.859 kB / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.004557, allocations: 0 / 296.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.004576, allocations: 42.5 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004577, allocations: 0 / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003777/0.004955, allocations: 145.6 kB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.00498, allocations: 59.34 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.005078, allocations: 180.3 kB / 297 MB, free: 1.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.005086, allocations: 25.7 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.005118, allocations: 108 kB / 297.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.005138, allocations: 19.81 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.005163, allocations: 25.69 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.005232, allocations: 322.8 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.005243, allocations: 4 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.005254, allocations: 15.98 kB / 297.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.005286, allocations: 24.83 kB / 297.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005287, allocations: 4 kB / 297.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.182e-05/0.005338, allocations: 57.56 kB / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.005348, allocations: 4 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005351, allocations: 0 / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005362, allocations: 4.422 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.005421, allocations: 23.98 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005424, allocations: 0 / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.005443, allocations: 11.92 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005447, allocations: 4 kB / 297.7 MB, free: 1.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.047e-05/0.005497, allocations: 112.7 kB / 297.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.005513, allocations: 11.94 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.153e-05/0.005605, allocations: 87.34 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005606, allocations: 3.938 kB / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.005607, allocations: 0 / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00561, allocations: 0 / 297.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.00581, allocations: 251.5 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.005813, allocations: 4 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.005849, allocations: 16.02 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.005861, allocations: 23.89 kB / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.005863, allocations: 0 / 298.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.00587, allocations: 7.984 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005871, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005872, allocations: 0 / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.005954, allocations: 164.3 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.005965, allocations: 4 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.005995, allocations: 0 / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.006019, allocations: 7.984 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006022, allocations: 0 / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.683e-05/0.006069, allocations: 72.67 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006069, allocations: 0 / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.006205, allocations: 16 kB / 298.4 MB, free: 388 kB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001204/0.007408, allocations: 0.6296 MB / 299.1 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.007485, allocations: 44.66 kB / 299.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.007489, allocations: 0 / 299.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.007517, allocations: 28.84 kB / 299.1 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.007703, allocations: 80.5 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.008106, allocations: 240 kB / 299.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.008143, allocations: 71.33 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.008178, allocations: 12.81 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.00823, allocations: 63.36 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00823, allocations: 0 / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002781/0.01101, allocations: 1.507 MB / 301.1 MB, free: 14.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.792894390411675]