Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001066/0.001066, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009985/0.0009985, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9771/0.9771, allocations: 177 MB / 204.8 MB, free: 5.215 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.3128/0.3128, allocations: 34.86 MB / 296.3 MB, free: 428 kB / 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.397e-05, allocations: 2.312 kB / 378.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003515/0.003549, allocations: 1.758 MB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.005431, allocations: 1.02 MB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.005547, allocations: 0 / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.005942, allocations: 39.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.006401, allocations: 95.47 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.006712, allocations: 83.66 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.006959, allocations: 99.64 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.007081, allocations: 11.98 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.007221, allocations: 55.83 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.007319, allocations: 27.86 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.007341, allocations: 8 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.007474, allocations: 47.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.007542, allocations: 15.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.007596, allocations: 19.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.007877, allocations: 99.59 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.007883, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.007884, allocations: 0 / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.007891, allocations: 0 / 382.2 MB, free: 14.6 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.0006482/0.00854, allocations: 435.9 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.008593, allocations: 12.03 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.008657, allocations: 16.83 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.008923, allocations: 157.8 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.008951, allocations: 4.375 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.008988, allocations: 4.375 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.009162, allocations: 62.94 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.009175, allocations: 192 / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.00919, allocations: 4.375 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.009202, allocations: 3.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.009254, allocations: 11.98 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.009704, allocations: 275.8 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.009886, allocations: 63.16 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.009928, allocations: 11.69 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.009948, allocations: 0 / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.0101, allocations: 80.88 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.0101, allocations: 0 / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.01063, allocations: 153.4 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.01068, allocations: 59.41 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.01085, allocations: 216 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.01087, allocations: 29.7 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.01094, allocations: 150.9 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.01098, allocations: 23.8 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.01103, allocations: 31.36 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.01119, allocations: 0.4962 MB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.01122, allocations: 8 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/0.01128, allocations: 35.36 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.01136, allocations: 47.31 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01137, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001652/0.01153, allocations: 93.52 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.01155, allocations: 8.031 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.01156, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.01158, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01168, allocations: 23.94 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01169, allocations: 3.984 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.01173, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.01174, allocations: 4.375 kB / 384.7 MB, free: 11.89 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 9.98e-05/0.01184, allocations: 160.6 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.01186, allocations: 15.89 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.01209, allocations: 106.5 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.01209, allocations: 8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.0121, allocations: 4 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.0121, allocations: 0 / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.01258, allocations: 388.9 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01258, allocations: 0 / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.01263, allocations: 15.98 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01263, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01264, allocations: 0 / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.01264, allocations: 7.938 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01265, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01287, allocations: 263.5 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01289, allocations: 7.953 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.01291, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.01298, allocations: 7.984 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.01302, allocations: 4 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.01304, allocations: 11.92 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01315, allocations: 164 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01315, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.01348, allocations: 27.94 kB / 385.9 MB, free: 10.63 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.001539/0.01502, allocations: 429.1 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.0152, allocations: 67.52 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0152, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.698e-05/0.01526, allocations: 31.61 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.01567, allocations: 35.94 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.01617, allocations: 202.4 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.147e-05/0.01624, allocations: 71.33 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.01629, allocations: 17.41 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.01634, allocations: 24.48 kB / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01634, allocations: 0 / 386.7 MB, free: 9.84 MB / 362.7 MB Notification: Performance of Templates: time 0.005616/0.02196, allocations: 1.849 MB / 388.6 MB, free: 8.016 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.2613005870953202]