Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001369/0.001369, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001026/0.001026, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 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 0.933/0.933, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.494e-05, allocations: 7.297 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002075/0.00209, allocations: 1.757 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003278, allocations: 1.001 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.003353, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.003629, allocations: 59.62 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.003886, allocations: 103.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.004054, allocations: 83.59 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.004189, allocations: 107.6 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.004267, allocations: 11.97 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.004349, allocations: 55.78 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.004412, allocations: 23.91 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004427, allocations: 4 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.004498, allocations: 43.92 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.004545, allocations: 35.91 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.004576, allocations: 19.88 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004731, allocations: 119.6 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004732, allocations: 3.938 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004733, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004736, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004275/0.005164, allocations: 471.6 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005198, allocations: 12.03 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.005231, allocations: 16.84 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.005365, allocations: 165.2 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005379, allocations: 4.375 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.005395, allocations: 8.375 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.686e-05/0.005492, allocations: 62.92 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.005499, allocations: 192 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.005506, allocations: 4.312 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.005513, allocations: 3.938 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.005539, allocations: 8 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.00576, allocations: 264.4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/0.005838, allocations: 47.16 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.005863, allocations: 31.61 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.005875, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.608e-05/0.005951, allocations: 61.05 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.005952, allocations: 0 / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002752/0.006227, allocations: 141.4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.006249, allocations: 51.41 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.006378, allocations: 273.5 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.006389, allocations: 25.7 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.006449, allocations: 170.8 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.006473, allocations: 31.77 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.006502, allocations: 27.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.006618, allocations: 0.5079 MB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.006632, allocations: 8 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.006658, allocations: 35.28 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.006696, allocations: 39.75 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006697, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.679e-05/0.006784, allocations: 105.4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.006797, allocations: 4 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006803, allocations: 4 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006813, allocations: 8.031 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.006864, allocations: 12 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.006868, allocations: 3.984 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.006895, allocations: 7.984 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.006899, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.321e-05/0.006972, allocations: 164.5 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.00699, allocations: 19.84 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.007112, allocations: 99.12 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.007113, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007115, allocations: 3.938 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007118, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.007556, allocations: 365.6 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007558, allocations: 3.938 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.007579, allocations: 8 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.00758, allocations: 0 / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.007588, allocations: 11.98 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007589, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007591, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.007712, allocations: 259.3 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.007724, allocations: 15.92 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.007742, allocations: 8 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.007779, allocations: 4 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.007802, allocations: 7.984 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.007812, allocations: 7.938 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.007881, allocations: 180.5 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007881, allocations: 0 / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008044, allocations: 31.92 kB / 386.5 MB, free: 10.26 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007811/0.008825, allocations: 434.2 kB / 386.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.008906, allocations: 55.58 kB / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.008907, allocations: 0 / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.008943, allocations: 35.61 kB / 387 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.009142, allocations: 27.92 kB / 387 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.00944, allocations: 262.5 kB / 387.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.009483, allocations: 71.33 kB / 387.3 MB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.009516, allocations: 21.39 kB / 387.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.009581, allocations: 94.19 kB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.009582, allocations: 0 / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of Templates: time 0.003154/0.01274, allocations: 2.055 MB / 389.5 MB, free: 7.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.8172807903029025]