Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001076/0.001076, allocations: 84.25 kB / 22.21 MB, free: 2.289 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.001022/0.001022, allocations: 169.2 kB / 25.61 MB, free: 8.547 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.9794/0.9794, allocations: 177 MB / 205.9 MB, free: 4.438 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.1703/0.1703, 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.894e-05, allocations: 3.656 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00288/0.002919, allocations: 1.74 MB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.004478, allocations: 0.9985 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.004611, allocations: 4 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.005002, allocations: 35.77 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.005397, allocations: 103.4 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.005641, allocations: 83.66 kB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.005847, allocations: 107.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.00597, allocations: 8 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.006093, allocations: 55.89 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.006189, allocations: 23.91 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.00621, allocations: 7.938 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.006322, allocations: 55.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.00639, allocations: 15.92 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.006441, allocations: 15.94 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.006664, allocations: 99.66 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006668, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.006671, allocations: 0 / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.006678, 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.0004928/0.007171, allocations: 447.8 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.007222, allocations: 8.031 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.007281, allocations: 24.83 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.007462, allocations: 149.1 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.007485, allocations: 384 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.007509, allocations: 8.328 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.007664, allocations: 58.94 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.007678, allocations: 192 / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.007691, allocations: 8.359 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.0077, allocations: 3.938 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.243e-05/0.007732, allocations: 11.98 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.008073, allocations: 260.4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.008191, allocations: 51.14 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.008216, allocations: 15.69 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008233, allocations: 0 / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.008361, allocations: 64.98 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.008362, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004619/0.008824, allocations: 141.4 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.008867, allocations: 59.39 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.008993, allocations: 227.9 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.009007, allocations: 29.7 kB / 385 MB, free: 17.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.009084, allocations: 146.8 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.009117, allocations: 23.84 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.009158, allocations: 31.36 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.009285, allocations: 0.4962 MB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.009307, allocations: 8 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.009338, allocations: 31.36 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.009392, allocations: 51.28 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009393, allocations: 4 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.009519, allocations: 81.53 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.009537, allocations: 8 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.009543, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.009555, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.009635, allocations: 20.3 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.00964, allocations: 7.938 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.009682, allocations: 4 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.009688, allocations: 8 kB / 385.9 MB, free: 16.62 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 8.26e-05/0.009771, allocations: 164.6 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.009791, allocations: 15.84 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.009954, allocations: 99.06 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.009959, allocations: 4 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.009962, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.009968, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.01023, allocations: 365.5 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01023, allocations: 0 / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.01026, allocations: 12 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01027, allocations: 0 / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.01027, allocations: 4.031 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01028, allocations: 7.938 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01028, allocations: 0 / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.0104, allocations: 255.4 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01041, allocations: 11.94 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01043, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.01047, allocations: 4 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.01051, allocations: 11.98 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.01053, allocations: 4 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.01058, allocations: 155.8 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01058, allocations: 4 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001935/0.01078, allocations: 27.98 kB / 387 MB, free: 15.42 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.00103/0.01181, allocations: 436.8 kB / 387.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.01195, allocations: 43.61 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01195, allocations: 4 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.01199, allocations: 27.61 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.01225, allocations: 39.83 kB / 387.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.01263, allocations: 220.3 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.01267, allocations: 67.2 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.01271, allocations: 21.27 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.01278, allocations: 90.19 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01278, allocations: 0 / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of Templates: time 0.003984/0.01677, allocations: 2.054 MB / 390 MB, free: 12.58 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.3880221308209]