Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001026/0.001026, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001225/0.001225, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 1.029/1.029, allocations: 177 MB / 205.9 MB, free: 4.457 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.1531/0.1531, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.494e-05, allocations: 6.094 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002898/0.002923, allocations: 1.754 MB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.00452, allocations: 0.9968 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.004597, allocations: 4 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.004849, allocations: 39.77 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.005096, allocations: 99.47 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.005251, allocations: 71.67 kB / 383.1 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.005375, allocations: 115.6 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.005463, allocations: 7.984 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.005539, allocations: 51.84 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.005604, allocations: 31.89 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.005619, allocations: 7.938 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.00569, allocations: 47.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.005732, allocations: 11.94 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.005762, allocations: 23.91 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.005904, allocations: 103.6 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005909, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.00591, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005914, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.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.0003513/0.006266, allocations: 447.9 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.006299, allocations: 8.031 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.006336, allocations: 20.78 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.006475, allocations: 146.5 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006491, allocations: 8.375 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.006506, allocations: 4.375 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.506e-05/0.006601, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.006611, allocations: 192 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.006618, allocations: 384 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.006626, allocations: 7.938 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.00665, allocations: 7.984 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.00685, allocations: 268.3 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.006928, allocations: 55.14 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.006946, allocations: 15.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.006957, allocations: 4 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.007035, allocations: 64.98 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.007036, allocations: 3.938 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002916/0.007327, allocations: 137.4 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.007349, allocations: 59.39 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.007426, allocations: 226.8 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.007434, allocations: 29.7 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.007467, allocations: 150.8 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.007489, allocations: 35.77 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.007515, allocations: 23.38 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.007559, allocations: 0.5001 MB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.007575, allocations: 8.359 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.007597, allocations: 31.36 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.007637, allocations: 51.36 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.00764, allocations: 4 kB / 385.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.496e-05/0.007725, allocations: 85.53 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.007735, allocations: 4 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00774, allocations: 4.031 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007751, allocations: 4 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.007813, allocations: 23.92 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007816, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.007844, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.00785, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.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 4.973e-05/0.0079, allocations: 164.6 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.007914, allocations: 19.84 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.00803, allocations: 95.08 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008032, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.008034, allocations: 7.984 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008038, allocations: 3.984 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.008238, allocations: 361.6 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008239, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.008264, allocations: 8 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.008267, allocations: 7.984 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008275, allocations: 4 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.008277, allocations: 3.938 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008278, allocations: 0 / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.742e-05/0.008376, allocations: 263.6 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.008386, allocations: 11.95 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.008401, allocations: 3.938 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.008442, allocations: 8 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.008466, allocations: 7.984 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.008478, allocations: 0 / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.908e-05/0.008527, allocations: 171.1 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008527, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.008707, allocations: 23.94 kB / 387 MB, free: 15.39 MB / 314.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.0009772/0.009685, allocations: 437.8 kB / 387.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.009784, allocations: 47.59 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.009787, allocations: 0 / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.009818, allocations: 35.59 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01005, allocations: 27.92 kB / 387.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01038, allocations: 219.9 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.01042, allocations: 67.2 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.01046, allocations: 21.41 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.01052, allocations: 86.19 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01052, allocations: 0 / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003568/0.01408, allocations: 2.074 MB / 390 MB, free: 12.53 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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: 3.4130522487685084]