Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009929/0.0009929, allocations: 82.59 kB / 21.43 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.001281/0.001281, allocations: 170.8 kB / 24.82 MB, free: 9.262 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.9441/0.9441, 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.2519/0.2519, 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.974e-05, allocations: 6.25 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002377/0.002407, allocations: 1.765 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.00366, allocations: 1.001 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.003739, allocations: 4 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.004025, allocations: 39.66 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.004307, allocations: 95.53 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.004483, allocations: 87.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.004643, allocations: 103.6 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.004732, allocations: 11.97 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.283e-05/0.004825, allocations: 55.78 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.0049, allocations: 27.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.004916, allocations: 4 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.005002, allocations: 47.92 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.005047, allocations: 19.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.005085, allocations: 23.91 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005255, allocations: 99.59 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005257, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005258, allocations: 0 / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.005261, allocations: 0 / 382.7 MB, free: 14.34 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.000418/0.005679, allocations: 451.8 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.005716, allocations: 8.031 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.005753, allocations: 16.84 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.005905, allocations: 153.1 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.005921, allocations: 4.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.005939, allocations: 8.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.00605, allocations: 54.94 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006059, allocations: 192 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006067, allocations: 8.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006074, allocations: 3.938 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.006101, allocations: 11.92 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.006343, allocations: 260.4 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.00643, allocations: 51.16 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.006452, allocations: 15.69 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.006466, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.183e-05/0.006558, allocations: 72.97 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.006559, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003271/0.006886, allocations: 137.6 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006913, allocations: 59.33 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.007049, allocations: 226.3 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.007064, allocations: 29.7 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.007125, allocations: 150.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.007157, allocations: 31.78 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.007196, allocations: 31.36 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003817/0.007578, allocations: 0.4962 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.007598, allocations: 11.98 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.007628, allocations: 27.36 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.007684, allocations: 51.3 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007685, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001116/0.007797, allocations: 85.47 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.007807, allocations: 4 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.007812, allocations: 8.031 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.007823, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.00789, allocations: 15.98 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.007892, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.007925, allocations: 8 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.00793, allocations: 0 / 385.1 MB, free: 11.67 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.185e-05/0.008002, allocations: 164.6 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.008022, allocations: 19.84 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.008159, allocations: 95.08 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008161, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008164, allocations: 7.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008167, allocations: 4 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.008444, allocations: 357.6 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008446, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.008474, allocations: 11.94 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.008478, allocations: 7.984 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008486, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008487, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008488, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.008633, allocations: 255.4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.008645, allocations: 11.98 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.00866, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.008721, allocations: 4 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.008746, allocations: 15.92 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.008758, allocations: 4 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.008831, allocations: 167.1 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008831, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.00906, allocations: 27.94 kB / 386.3 MB, free: 10.46 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.0009678/0.01003, allocations: 428.2 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.01012, allocations: 55.53 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01012, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.01016, allocations: 31.61 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01043, allocations: 35.88 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.01075, allocations: 217.9 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.211e-05/0.01079, allocations: 67.34 kB / 387.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.173e-05/0.01083, allocations: 21.39 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.0109, allocations: 86.19 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0109, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of Templates: time 0.003877/0.01478, allocations: 2.037 MB / 389.2 MB, free: 7.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.891132028773427]