Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.0009423/0.0009423, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001546/0.001546, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2388/0.2388, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.907e-05, allocations: 5.859 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003629/0.003658, allocations: 1.639 MB / 324.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.005599, allocations: 1.278 MB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.005698, allocations: 0 / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.005997, allocations: 23.84 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.006404, allocations: 99.42 kB / 326.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.006716, allocations: 83.7 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.006874, allocations: 75.7 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.006963, allocations: 11.98 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.007039, allocations: 31.91 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.007149, allocations: 23.92 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.007168, allocations: 7.984 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.007345, allocations: 83.89 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.007395, allocations: 19.91 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.007428, allocations: 16.56 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.007719, allocations: 139.5 kB / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.007724, allocations: 0 / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.007726, allocations: 0 / 326.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.007733, allocations: 3.984 kB / 326.8 MB, free: 6.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004325/0.008166, allocations: 301.5 kB / 327.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.008209, allocations: 8.031 kB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.008249, allocations: 4.938 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.008423, allocations: 125.7 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.008431, allocations: 4.312 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.008457, allocations: 8.375 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.008583, allocations: 98.34 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008592, allocations: 192 / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.008601, allocations: 8.125 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.008607, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.008629, allocations: 4 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.008867, allocations: 167.1 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.009019, allocations: 38.55 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.009036, allocations: 8.859 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.009055, allocations: 0 / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.009081, allocations: 34.56 kB / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.009082, allocations: 0 / 327.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003333/0.009416, allocations: 93.55 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.009467, allocations: 77.11 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.009597, allocations: 144.3 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.009611, allocations: 25.7 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.009658, allocations: 96.06 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.009685, allocations: 19.84 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.009721, allocations: 13.72 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.009824, allocations: 318.8 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.009835, allocations: 8 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.009878, allocations: 51.34 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.009922, allocations: 24.78 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.009923, allocations: 0 / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.598e-05/0.009999, allocations: 53.86 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01001, allocations: 4 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01002, allocations: 4 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.01003, allocations: 0 / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.01008, allocations: 8 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.01009, allocations: 7.938 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.01011, allocations: 8.016 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01012, allocations: 3.984 kB / 328.5 MB, free: 4.234 MB / 298.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 (5): * Single equations (assignments): 5 * 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.852e-05/0.01019, allocations: 116.7 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.01022, allocations: 7.938 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.01033, allocations: 54.14 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01033, allocations: 4 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01033, allocations: 0 / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01034, allocations: 0 / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.01059, allocations: 210.8 kB / 328.9 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.0106, allocations: 3.938 kB / 328.9 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.01064, allocations: 15.98 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01064, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.01065, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01065, allocations: 4 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01065, allocations: 0 / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.01076, allocations: 147.5 kB / 329 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.01077, allocations: 11.88 kB / 329.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01078, allocations: 4 kB / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.01084, allocations: 192 / 329.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.01087, allocations: 7.984 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.01087, allocations: 4 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.01092, allocations: 38.02 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01092, allocations: 0 / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.01122, allocations: 39.86 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001783/0.013, allocations: 0.6246 MB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.0131, allocations: 24.86 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.0131, allocations: 0 / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.01312, allocations: 20.78 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01335, allocations: 19.92 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01371, allocations: 166.5 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.244e-05/0.01375, allocations: 59.34 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.0138, allocations: 12.25 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.782e-05/0.01389, allocations: 67.36 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01389, allocations: 0 / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of Templates: time 0.00463/0.01852, allocations: 1.994 MB / 332.1 MB, free: 0.8164 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.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.962292387150228]