Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.00103/0.00103, allocations: 84.25 kB / 22.21 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.0009816/0.0009816, allocations: 161.3 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.152/0.152, allocations: 34.87 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.028e-05, allocations: 3.375 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001977/0.001997, allocations: 1.752 MB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003038, allocations: 1.001 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.003112, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.003393, allocations: 47.75 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.003636, allocations: 115.4 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.003772, allocations: 83.59 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003902, allocations: 95.7 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.003988, allocations: 11.98 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.004057, allocations: 59.77 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.004122, allocations: 23.92 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.004136, allocations: 4 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.004198, allocations: 51.91 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.004244, allocations: 31.84 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.004276, allocations: 19.88 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004412, allocations: 103.7 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004414, allocations: 3.984 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004414, allocations: 4 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004418, allocations: 0 / 383.5 MB, free: 19.23 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.0003216/0.00474, allocations: 487.5 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.00477, allocations: 8.031 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.004802, allocations: 16.84 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004918, allocations: 165.3 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.004933, allocations: 384 / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.004947, allocations: 8.375 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.005025, allocations: 54.94 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005034, allocations: 4.188 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.005041, allocations: 4.359 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005046, allocations: 3.938 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.005068, allocations: 15.94 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.005262, allocations: 264.4 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.762e-05/0.00534, allocations: 51.17 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.005357, allocations: 11.69 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.005367, allocations: 4 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.377e-05/0.005441, allocations: 76.95 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.005442, allocations: 0 / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002878/0.00573, allocations: 141.4 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.005751, allocations: 51.41 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.00585, allocations: 273.6 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.005857, allocations: 25.7 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.005895, allocations: 170.8 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.005917, allocations: 27.78 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.005945, allocations: 31.36 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.005997, allocations: 0.504 MB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.006009, allocations: 4 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.006032, allocations: 35.36 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.849e-05/0.006071, allocations: 47.36 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006072, allocations: 4 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.178e-05/0.006153, allocations: 97.41 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006165, allocations: 12.03 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.00617, allocations: 384 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.006178, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.006235, allocations: 12 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.006239, allocations: 7.938 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.006266, allocations: 7.984 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.006273, allocations: 4 kB / 386.1 MB, free: 16.42 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 5.37e-05/0.006327, allocations: 164.5 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.006343, allocations: 23.84 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.006451, allocations: 103.1 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.006453, allocations: 4 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006454, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.006458, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.006646, allocations: 369.6 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006647, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.006669, allocations: 15.94 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006671, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.006676, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006678, allocations: 3.984 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006678, allocations: 4 kB / 386.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.767e-05/0.006766, allocations: 263.6 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.006776, allocations: 15.91 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.006791, allocations: 0 / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.00683, allocations: 4 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.006852, allocations: 7.984 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.006862, allocations: 4 kB / 387 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.165e-05/0.006914, allocations: 188.5 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006914, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.007085, allocations: 27.92 kB / 387.2 MB, free: 15.17 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.0008157/0.007901, allocations: 434.1 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.821e-05/0.007989, allocations: 51.58 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007991, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.008019, allocations: 27.62 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.008245, allocations: 47.52 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.008528, allocations: 260.4 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.008558, allocations: 75.19 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.008589, allocations: 21.09 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.008639, allocations: 86.19 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008639, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003303/0.01194, allocations: 2.091 MB / 390.3 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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.2606052411720157]