Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.0009186/0.0009186, allocations: 80.8 kB / 21.5 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.0008571/0.0008571, allocations: 169.9 kB / 24.91 MB, free: 9.184 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.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2461/0.2461, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.632e-05, allocations: 3.672 kB / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003315/0.003342, allocations: 1.63 MB / 324.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.004395, allocations: 0.5219 MB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.00446, allocations: 7.938 kB / 325.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.004704, allocations: 35.7 kB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.005025, allocations: 79.56 kB / 325.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.005322, allocations: 83.7 kB / 325.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.005477, allocations: 71.77 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.005569, allocations: 11.98 kB / 325.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.005648, allocations: 31.91 kB / 325.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.005714, allocations: 19.92 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.00573, allocations: 0 / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.005815, allocations: 35.92 kB / 325.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.005865, allocations: 15.92 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.005891, allocations: 11.94 kB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.006061, allocations: 71.73 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006064, allocations: 0 / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006065, allocations: 0 / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.006068, allocations: 0 / 325.9 MB, free: 7.055 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.0003962/0.006465, allocations: 293.6 kB / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006502, allocations: 8.031 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.006538, allocations: 8.938 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.006698, allocations: 137.6 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.006708, allocations: 384 / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.00673, allocations: 4.375 kB / 326.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.006846, allocations: 54.94 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.006855, allocations: 4.188 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.006864, allocations: 4.125 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.006871, allocations: 0 / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.006902, allocations: 11.94 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.007159, allocations: 155.8 kB / 326.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.007318, allocations: 34.56 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.007337, allocations: 12.8 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.007359, allocations: 8.141 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.007385, allocations: 34.5 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.007387, allocations: 0 / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003431/0.00773, allocations: 89.42 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.007767, allocations: 51.41 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.007896, allocations: 155.7 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007909, allocations: 29.7 kB / 326.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.007953, allocations: 88.12 kB / 327 MB, free: 5.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.007982, allocations: 15.89 kB / 327 MB, free: 5.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.008019, allocations: 17.72 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.008121, allocations: 322.8 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.008137, allocations: 0 / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.008151, allocations: 4 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.008189, allocations: 20.84 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008191, allocations: 0 / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.604e-05/0.008277, allocations: 57.55 kB / 327.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.008293, allocations: 12 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.008298, allocations: 288 / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.008311, allocations: 256 / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.00838, allocations: 8 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008384, allocations: 4 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.008414, allocations: 7.984 kB / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.00842, allocations: 0 / 327.5 MB, free: 5.277 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 7.414e-05/0.008494, allocations: 112.7 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.008528, allocations: 11.92 kB / 327.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.008676, allocations: 74 kB / 327.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.008679, allocations: 4 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.008681, allocations: 0 / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008684, allocations: 0 / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.008976, allocations: 214.7 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.008978, allocations: 0 / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.009036, allocations: 8 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.00904, allocations: 3.984 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.009045, allocations: 0 / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009048, allocations: 3.938 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.009051, allocations: 3.938 kB / 327.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.009169, allocations: 147.5 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.009185, allocations: 15.95 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.0092, allocations: 3.984 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.009265, allocations: 4 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.00929, allocations: 0 / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.009296, allocations: 4 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.409e-05/0.009351, allocations: 35.66 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009351, allocations: 0 / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.009594, allocations: 16 kB / 328.1 MB, free: 4.566 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.001618/0.01121, allocations: 0.4927 MB / 328.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.0113, allocations: 32.73 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.01131, allocations: 0 / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.01134, allocations: 16.84 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.01157, allocations: 23.44 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.01198, allocations: 179.1 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.01202, allocations: 59.34 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.612e-05/0.01207, allocations: 23.91 kB / 329 MB, free: 3.953 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.01214, allocations: 59.38 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01214, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Templates: time 0.00321/0.01535, allocations: 1.243 MB / 330.3 MB, free: 2.664 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.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.9019409432075918]