Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.0007768/0.0007768, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009911/0.001768, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006915/0.0006915, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008465/0.001538, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.015/1.015, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08778/1.103, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2678/0.2678, allocations: 34.86 MB / 279.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02716/0.2949, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.907e-05, allocations: 5.094 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003446/0.003475, allocations: 1.8 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.005811, allocations: 1.772 MB / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.931e-05/0.00589, allocations: 3.938 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.006068, allocations: 31.83 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.006343, allocations: 107.3 kB / 297.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.006528, allocations: 79.66 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.006688, allocations: 99.66 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.006776, allocations: 7.984 kB / 297.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.006907, allocations: 83.81 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.007021, allocations: 43.83 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.007038, allocations: 4 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.007229, allocations: 115.7 kB / 298.1 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.007271, allocations: 11.94 kB / 298.1 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.007304, allocations: 15.94 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.007514, allocations: 147.5 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.007528, allocations: 0 / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007529, allocations: 4 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.007548, allocations: 0 / 298.3 MB, free: 0.7617 MB / 282.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.0004479/0.007996, allocations: 348.9 kB / 298.6 MB, free: 408 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.00803, allocations: 8.922 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.008077, allocations: 16.92 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.00828, allocations: 142.2 kB / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.008297, allocations: 384 / 298.8 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.00832, allocations: 4.375 kB / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.008483, allocations: 117.1 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008494, allocations: 3.938 kB / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.008503, allocations: 0 / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.008517, allocations: 0 / 298.9 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.008559, allocations: 10.83 kB / 298.9 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.008818, allocations: 158 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.008926, allocations: 97.34 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.00895, allocations: 20.78 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.008964, allocations: 0 / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.009076, allocations: 70.11 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.009078, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003024/0.00938, allocations: 109.6 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.009412, allocations: 51.41 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.009532, allocations: 148.3 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.009553, allocations: 41.69 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.009589, allocations: 88.12 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.009619, allocations: 31.72 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.009654, allocations: 21.72 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.009728, allocations: 322.8 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.009743, allocations: 10.83 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.009783, allocations: 64.77 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.009822, allocations: 40.45 kB / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.009823, allocations: 0 / 300.2 MB, free: 14.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.584e-05/0.009899, allocations: 80.47 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.009911, allocations: 10.5 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.009915, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.009924, allocations: 3.984 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.009985, allocations: 16 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.009988, allocations: 0 / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.01002, allocations: 8 kB / 300.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.01002, allocations: 3.984 kB / 300.3 MB, free: 14.55 MB / 298.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 6.746e-05/0.01009, allocations: 116.6 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.0101, allocations: 11.94 kB / 300.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.01021, allocations: 82.48 kB / 300.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01022, allocations: 4 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01022, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01022, allocations: 0 / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.01045, allocations: 299.4 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01045, allocations: 4 kB / 300.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.01048, allocations: 11.94 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.01049, allocations: 7.953 kB / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01049, allocations: 0 / 300.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.0105, allocations: 11.98 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0105, allocations: 4.031 kB / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01051, allocations: 0 / 300.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.01061, allocations: 215 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01063, allocations: 4 kB / 301 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.01067, allocations: 4 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.0107, allocations: 7.984 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01071, allocations: 4 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.892e-05/0.01075, allocations: 44.86 kB / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 0 / 301.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01093, allocations: 51.8 kB / 301.1 MB, free: 13.62 MB / 298.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.001631/0.01257, allocations: 0.7587 MB / 301.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.731e-05/0.01266, allocations: 40.78 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.01267, allocations: 8.062 kB / 301.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.0127, allocations: 32.72 kB / 302 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01287, allocations: 41.36 kB / 302 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.0133, allocations: 204 kB / 302.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.01333, allocations: 63.34 kB / 302.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.01338, allocations: 21.25 kB / 302.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.01346, allocations: 75.42 kB / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01346, allocations: 4 kB / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Templates: time 0.004173/0.01764, allocations: 2.806 MB / 305.2 MB, free: 9.934 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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: 2.974327826872468]