Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001686, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.34/0.34, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.915e-05, allocations: 4.141 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003271/0.0033, allocations: 1.622 MB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004459, allocations: 0.5331 MB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.004509, allocations: 0 / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004804, allocations: 83.69 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.005109, allocations: 107.5 kB / 379.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.005433, allocations: 107.7 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.00562, allocations: 91.75 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.005721, allocations: 7.984 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.005818, allocations: 51.83 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.005931, allocations: 43.94 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.005951, allocations: 7.938 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.006053, allocations: 43.92 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.006126, allocations: 31.91 kB / 379.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.006182, allocations: 19.92 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.006397, allocations: 103.6 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.0064, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0064, allocations: 0 / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006404, allocations: 4 kB / 380.1 MB, free: 16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000586/0.006991, allocations: 341.6 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.007025, allocations: 8.031 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.007083, allocations: 16.84 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.007321, allocations: 142.3 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007336, allocations: 8.375 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.007361, allocations: 384 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.007539, allocations: 58.19 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.00755, allocations: 192 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.007561, allocations: 384 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.007565, allocations: 384 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007674, allocations: 31.91 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.008121, allocations: 240.5 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.008254, allocations: 50.48 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.008314, allocations: 20.86 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.00834, allocations: 4.078 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.008377, allocations: 34.5 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.008378, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001045/0.009422, allocations: 253.2 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.00947, allocations: 51.41 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.009787, allocations: 218.7 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.009814, allocations: 29.7 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.009897, allocations: 108.1 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.009937, allocations: 31.73 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.009993, allocations: 21.66 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.01018, allocations: 322.8 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.01027, allocations: 31.98 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.01036, allocations: 36.05 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.01054, allocations: 76.95 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01054, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002533/0.0108, allocations: 113.5 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01081, allocations: 8 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.01082, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01083, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.01095, allocations: 19.92 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.01096, allocations: 8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.011, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.01101, allocations: 4 kB / 382.3 MB, free: 13.59 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 (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 0.0001223/0.01113, allocations: 129.8 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.01118, allocations: 19.84 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.0115, allocations: 127.1 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.01151, allocations: 11.94 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01151, allocations: 0 / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01152, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.01212, allocations: 362.9 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01212, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.0122, allocations: 15.98 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.0122, allocations: 4 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01221, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01221, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01221, allocations: 0 / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.01268, allocations: 228.2 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.0127, allocations: 7.953 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01272, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.01281, allocations: 8 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01285, allocations: 7.984 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01286, allocations: 4 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.01303, allocations: 159.2 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01303, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.0133, allocations: 31.8 kB / 383.4 MB, free: 12.42 MB / 362.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.002262/0.01556, allocations: 492 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01582, allocations: 71.89 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01582, allocations: 4 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.01593, allocations: 35.97 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.01632, allocations: 23.92 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.01693, allocations: 265.5 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01704, allocations: 96.81 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.01711, allocations: 25.08 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.01716, allocations: 12.5 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01716, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.004759/0.02192, allocations: 1.415 MB / 385.8 MB, free: 10.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.861559475888498]