Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001451/0.001451, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.001672/0.001672, allocations: 211.7 kB / 25.13 MB, free: 3.594 MB / 14.72 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.488/1.488, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 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.2344/0.2344, allocations: 46.94 MB / 362 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 83.86 kB / 0.4978 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3619, allocations: 66.08 MB / 0.5624 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003371/0.3653, allocations: 1.706 MB / 0.564 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3672, allocations: 1.01 MB / 0.565 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.3673, allocations: 4 kB / 0.565 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.3676, allocations: 75.7 kB / 0.5651 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.368, allocations: 103.6 kB / 0.5652 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.3682, allocations: 71.69 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3684, allocations: 111.6 kB / 0.5654 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.3684, allocations: 8.219 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3685, allocations: 51.78 kB / 0.5654 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3687, allocations: 55.7 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3687, allocations: 0 / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.3688, allocations: 31.98 kB / 0.5655 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.3688, allocations: 19.92 kB / 0.5655 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3689, allocations: 31.8 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.3691, allocations: 110.1 kB / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3691, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3691, allocations: 0 / 0.5657 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3691, allocations: 3.938 kB / 0.5657 GB, free: 0.8125 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005902/0.3697, allocations: 345.5 kB / 0.566 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3697, allocations: 12.03 kB / 0.566 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.3698, allocations: 12.84 kB / 0.566 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3701, allocations: 151 kB / 0.5662 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3701, allocations: 4.375 kB / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3702, allocations: 384 / 0.5662 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3703, allocations: 53.98 kB / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3703, allocations: 0 / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3703, allocations: 0 / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.3703, allocations: 0 / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.3704, allocations: 19.92 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.3707, allocations: 156.7 kB / 0.5664 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3709, allocations: 46.62 kB / 0.5664 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.3709, allocations: 20.84 kB / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.371, allocations: 0 / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.3711, allocations: 71.33 kB / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3711, allocations: 7.938 kB / 0.5665 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003197/0.3714, allocations: 89.62 kB / 0.5666 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.3715, allocations: 55.41 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3717, allocations: 198.3 kB / 0.5669 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3717, allocations: 25.7 kB / 0.5669 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3718, allocations: 104.1 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.3719, allocations: 19.89 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.3719, allocations: 21.7 kB / 0.567 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3721, allocations: 326.8 kB / 0.5673 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.3721, allocations: 12 kB / 0.5674 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.3722, allocations: 29.7 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3723, allocations: 45.64 kB / 0.5674 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3723, allocations: 256 / 0.5674 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001863/0.3725, allocations: 93.47 kB / 0.5675 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3725, allocations: 11.97 kB / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3725, allocations: 0 / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3725, allocations: 0 / 0.5675 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.3726, allocations: 15.98 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3726, allocations: 0 / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.3727, allocations: 7.938 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3727, allocations: 4 kB / 0.5676 GB, free: 14.7 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.0001286/0.3728, allocations: 123.1 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3728, allocations: 11.89 kB / 0.5677 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3731, allocations: 94.7 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3731, allocations: 4 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3731, allocations: 0 / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3731, allocations: 0 / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.3733, allocations: 160.7 kB / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3733, allocations: 0 / 0.5679 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.3733, allocations: 7.938 kB / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3733, allocations: 0 / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3733, allocations: 4 kB / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3733, allocations: 0 / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3733, allocations: 4 kB / 0.5679 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3735, allocations: 109 kB / 0.5681 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.3735, allocations: 15.88 kB / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3735, allocations: 4 kB / 0.5681 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.3736, allocations: 3.984 kB / 0.5681 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3736, allocations: 4.188 kB / 0.5681 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.3736, allocations: 4 kB / 0.5681 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3738, allocations: 152.2 kB / 0.5682 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3738, allocations: 3.938 kB / 0.5682 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.374, allocations: 23.94 kB / 0.5683 GB, free: 13.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001512/0.3755, allocations: 397.5 kB / 0.5686 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3757, allocations: 47.91 kB / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3757, allocations: 0 / 0.5687 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.3758, allocations: 12 kB / 0.5687 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.376, allocations: 39.06 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.3766, allocations: 206.1 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.377, allocations: 0.704 MB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.42e-05/0.3771, allocations: 24.33 kB / 0.5696 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.3771, allocations: 11.44 kB / 0.5696 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3771, allocations: 4 kB / 0.5696 GB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00498/0.3821, allocations: 1.517 MB / 0.5711 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.143311528023332]