Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001488/0.001488, allocations: 95.5 kB / 21.2 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.0009633/0.0009633, allocations: 160.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.9522/0.9522, allocations: 177 MB / 204.8 MB, free: 5.57 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.2894/0.2894, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.9 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.269e-05, allocations: 3.016 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00232/0.002343, allocations: 1.788 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003623, allocations: 1.028 MB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.003711, allocations: 0 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.004034, allocations: 87.64 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.004407, allocations: 123.4 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.004635, allocations: 87.59 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.004827, allocations: 119.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.004917, allocations: 15.98 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.005023, allocations: 71.75 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005128, allocations: 59.86 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.005145, allocations: 8 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.005262, allocations: 63.84 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.005316, allocations: 23.92 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.005361, allocations: 23.92 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.005563, allocations: 123.5 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005565, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005566, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.00557, allocations: 4 kB / 382.5 MB, free: 14.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004926/0.006063, allocations: 471.7 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.006097, allocations: 8.031 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.00615, allocations: 20.84 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.006334, allocations: 161.2 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.006353, allocations: 4.375 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.006378, allocations: 8.312 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.006505, allocations: 62.94 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.006516, allocations: 4.188 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.006526, allocations: 384 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.006537, allocations: 11.92 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.269e-05/0.00658, allocations: 15.98 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.006902, allocations: 303.7 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.00708, allocations: 58.97 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.007115, allocations: 19.81 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.007129, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.007232, allocations: 72.98 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.007233, allocations: 0 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005531/0.007786, allocations: 225.1 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.007816, allocations: 51.41 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.007994, allocations: 259.1 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.008009, allocations: 29.7 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.008081, allocations: 166.9 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.008115, allocations: 35.69 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.008161, allocations: 35.38 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.008291, allocations: 0.5001 MB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.481e-05/0.008326, allocations: 16 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/0.008377, allocations: 46.59 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.008458, allocations: 67.25 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.008459, allocations: 0 / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001516/0.00861, allocations: 113.6 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.008622, allocations: 4 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008626, allocations: 0 / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008642, allocations: 7.938 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.00871, allocations: 27.91 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.008715, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.008749, allocations: 4 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.008758, allocations: 12.03 kB / 385.2 MB, free: 11.37 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 (13): * Single equations (assignments): 13 * 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 7.637e-05/0.008834, allocations: 164.5 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.008858, allocations: 15.91 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.009066, allocations: 135.9 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.00907, allocations: 4 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.009074, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009077, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.009463, allocations: 452.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.009469, allocations: 4 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.009511, allocations: 20.05 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009514, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.009524, allocations: 4 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.009526, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009527, allocations: 3.938 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.009724, allocations: 287.1 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.009739, allocations: 15.89 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.00976, allocations: 8 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.009821, allocations: 0 / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.009856, allocations: 15.92 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.009872, allocations: 8 kB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.009981, allocations: 183.1 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009981, allocations: 0 / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.01024, allocations: 35.92 kB / 386.6 MB, free: 9.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001119/0.01136, allocations: 474.8 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.01151, allocations: 63.59 kB / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01151, allocations: 0 / 387.1 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.672e-05/0.01157, allocations: 43.61 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01187, allocations: 31.97 kB / 387.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.01227, allocations: 273.4 kB / 387.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.93e-05/0.01232, allocations: 71.33 kB / 387.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.01237, allocations: 24.81 kB / 387.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.01241, allocations: 16.5 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01241, allocations: 0 / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of Templates: time 0.004269/0.01667, allocations: 2.129 MB / 389.7 MB, free: 6.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.3114921781234443]