Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.002692/0.002692, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002525/0.002525, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.624/1.624, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3536/0.3536, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.963e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00448/0.00451, allocations: 1.744 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003859/0.008368, allocations: 1.698 MB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.008451, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.008788, allocations: 47.64 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.009248, allocations: 103.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.00954, allocations: 83.59 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.00979, allocations: 107.6 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.009882, allocations: 11.98 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.01004, allocations: 55.78 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.0102, allocations: 35.89 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.01023, allocations: 4 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.01049, allocations: 107.9 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.01057, allocations: 11.94 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.01064, allocations: 27.91 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000425/0.01106, allocations: 187.3 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01107, allocations: 0 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01107, allocations: 0 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.01107, allocations: 0 / 381.5 MB, free: 14.58 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.0008631/0.01194, allocations: 451.5 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.01199, allocations: 8.031 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.01207, allocations: 8.891 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.01239, allocations: 160.9 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.01241, allocations: 4.375 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.01244, allocations: 8.359 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.01269, allocations: 99.31 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.01271, allocations: 7.938 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.01272, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01273, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.01283, allocations: 19.97 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.01339, allocations: 299.7 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.01363, allocations: 59.17 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.01372, allocations: 27.61 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01375, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.01395, allocations: 68.98 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.01395, allocations: 8 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007905/0.01474, allocations: 177.3 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.01482, allocations: 77.11 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.01515, allocations: 237.6 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.01518, allocations: 25.7 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.01532, allocations: 150.9 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.01537, allocations: 23.8 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.01545, allocations: 35.36 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003381/0.01579, allocations: 0.4923 MB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.01587, allocations: 19.98 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.01601, allocations: 80.75 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.0162, allocations: 71.61 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.0162, allocations: 0 / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003026/0.0165, allocations: 105.6 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.01652, allocations: 4 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.01653, allocations: 4 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.01655, allocations: 7.938 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.01667, allocations: 15.98 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01667, allocations: 160 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.01675, allocations: 8.062 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.01676, allocations: 7.984 kB / 384.2 MB, free: 11.59 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 0.0001781/0.01694, allocations: 172.5 kB / 384.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.01698, allocations: 15.89 kB / 384.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.01735, allocations: 114.4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.01736, allocations: 4 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01736, allocations: 0 / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.01737, allocations: 0 / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.0181, allocations: 409 kB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.01811, allocations: 3.984 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.01817, allocations: 12.03 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.01818, allocations: 4 kB / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01819, allocations: 0 / 384.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.0182, allocations: 3.938 kB / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.0182, allocations: 0 / 384.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.01863, allocations: 275.4 kB / 385.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.01866, allocations: 11.94 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.01869, allocations: 0 / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.01882, allocations: 8 kB / 385.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.01887, allocations: 7.984 kB / 385.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.0189, allocations: 4 kB / 385.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.01912, allocations: 175.1 kB / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01912, allocations: 0 / 385.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004986/0.01962, allocations: 51.86 kB / 385.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.004951/0.02457, allocations: 0.5811 MB / 386.1 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.02489, allocations: 75.59 kB / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.0249, allocations: 0 / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.02503, allocations: 39.61 kB / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.02557, allocations: 31.97 kB / 386.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.02628, allocations: 209.9 kB / 386.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.02641, allocations: 85.44 kB / 386.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.52e-05/0.02649, allocations: 21.41 kB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.02657, allocations: 20.48 kB / 386.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.02657, allocations: 0 / 386.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of Templates: time 0.008954/0.03552, allocations: 2.543 MB / 389.1 MB, free: 6.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0218130379216745]