Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0009443/0.0009443, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001026/0.001026, allocations: 169.2 kB / 24.82 MB, free: 8.93 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.9295/0.9295, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2458/0.2458, allocations: 32.81 MB / 294.6 MB, free: 1.227 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.563e-05, allocations: 2.312 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002589/0.002605, allocations: 1.645 MB / 378.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000884/0.003489, allocations: 0.5491 MB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.003549, allocations: 0 / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.004109, allocations: 455.1 kB / 379.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.004537, allocations: 299.1 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.004879, allocations: 167.5 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.005096, allocations: 167.6 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.005183, allocations: 11.98 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.005308, allocations: 119.8 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.005534, allocations: 243.5 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.005552, allocations: 4 kB / 380.1 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.005615, allocations: 23.92 kB / 380.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.005699, allocations: 79.72 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.00574, allocations: 39.73 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005961, allocations: 187.2 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005962, allocations: 4 kB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005963, allocations: 0 / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005967, allocations: 3.938 kB / 380.4 MB, free: 420 kB / 346.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.0006123/0.006579, allocations: 0.6893 MB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006613, allocations: 8.031 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.006666, allocations: 44.66 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.006862, allocations: 252.8 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.006871, allocations: 384 / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.00688, allocations: 4.375 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.006974, allocations: 54.95 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.00698, allocations: 192 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.006988, allocations: 8.125 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.006992, allocations: 0 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.007012, allocations: 11.92 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.007338, allocations: 324.3 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.00738, allocations: 31.06 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.007396, allocations: 7.688 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.007416, allocations: 7.938 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.007441, allocations: 49.31 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.007442, allocations: 0 / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.00014/0.007582, allocations: 81.42 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.007607, allocations: 51.41 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.008106, allocations: 0.604 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.008119, allocations: 29.69 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.008312, allocations: 306.7 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.008327, allocations: 3.953 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.008356, allocations: 23.31 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.008546, allocations: 0.5586 MB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.008556, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.094e-05/0.008567, allocations: 7.938 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.51e-05/0.008592, allocations: 15.88 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008594, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.003e-05/0.008684, allocations: 85.34 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008696, allocations: 8 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.008699, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.008709, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.008757, allocations: 8 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.00876, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.00879, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.008795, allocations: 4 kB / 383.7 MB, free: 12.96 MB / 362.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 (2): * Single equations (assignments): 2 * 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.527e-05/0.008881, allocations: 160.5 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.008928, allocations: 51.64 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.009039, allocations: 72.75 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.009041, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009042, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009045, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.009252, allocations: 193.1 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009253, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.009275, allocations: 4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009278, allocations: 4.031 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.009282, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009284, allocations: 3.938 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.009286, allocations: 3.984 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.009407, allocations: 231.6 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.009439, allocations: 31.72 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.009456, allocations: 3.984 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.009514, allocations: 3.938 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.009525, allocations: 4 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.009527, allocations: 0 / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.009839, allocations: 390.7 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009839, allocations: 8 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.00999, allocations: 15.94 kB / 384.9 MB, free: 11.73 MB / 362.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 (2): * Single equations (assignments): 2 * 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.0006729/0.01066, allocations: 330 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.01074, allocations: 23.62 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01074, allocations: 0 / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.121e-05/0.01076, allocations: 11.75 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.0111, allocations: 32.62 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.0118, allocations: 0.5665 MB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.764e-05/0.01186, allocations: 119.3 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.693e-05/0.01189, allocations: 11.97 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.01194, allocations: 74.2 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01194, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.003236/0.01518, allocations: 1.242 MB / 387.3 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.903244979213923]