Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.001657/0.001657, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 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.002079/0.002079, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.592/1.592, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.2498/0.2498, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 75.88 kB / 0.4974 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3537, allocations: 66.1 MB / 0.562 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003933/0.3577, allocations: 1.701 MB / 0.5636 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3596, allocations: 0.967 MB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.3597, allocations: 0 / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.3601, allocations: 55.75 kB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3605, allocations: 99.59 kB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3608, allocations: 79.67 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.361, allocations: 111.6 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3611, allocations: 4 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3612, allocations: 43.8 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3613, allocations: 35.77 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3613, allocations: 4 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3614, allocations: 39.98 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.3615, allocations: 31.92 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.3616, allocations: 35.72 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3619, allocations: 130 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3619, allocations: 0 / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3619, allocations: 0 / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3619, allocations: 3.938 kB / 0.5652 GB, free: 0.6328 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006376/0.3625, allocations: 369.3 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3625, allocations: 8.031 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.3626, allocations: 12.88 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3629, allocations: 163.1 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3629, allocations: 384 / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.363, allocations: 8.375 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3632, allocations: 57.92 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3632, allocations: 0 / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3632, allocations: 4 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3632, allocations: 4 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.3633, allocations: 19.98 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3637, allocations: 236.6 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3639, allocations: 62.55 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.3639, allocations: 28.84 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3639, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.3641, allocations: 67.39 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3641, allocations: 0 / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.3647, allocations: 181.3 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3647, allocations: 51.41 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.365, allocations: 246.9 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.365, allocations: 29.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3651, allocations: 116.1 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3652, allocations: 23.86 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3652, allocations: 25.7 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3654, allocations: 330.8 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.3654, allocations: 19.98 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.3655, allocations: 41.64 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3656, allocations: 65.75 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3656, allocations: 0 / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.3658, allocations: 113.5 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3658, allocations: 8.031 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3659, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3659, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.366, allocations: 19.98 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.366, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.366, allocations: 4.172 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.366, allocations: 4 kB / 0.5675 GB, free: 14.17 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 (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.0001223/0.3661, allocations: 141.6 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3662, allocations: 15.91 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.3664, allocations: 127 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3664, allocations: 7.938 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3665, allocations: 0 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3665, allocations: 0 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3669, allocations: 354.9 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3669, allocations: 384 / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.367, allocations: 8 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.367, allocations: 8 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.367, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.367, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.367, allocations: 4.031 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.3673, allocations: 228.2 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.3673, allocations: 11.91 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3673, allocations: 0 / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.3674, allocations: 8 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3674, allocations: 11.92 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3675, allocations: 0 / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3676, allocations: 179.2 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3679, allocations: 27.98 kB / 0.5685 GB, free: 12.98 MB / 414.1 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.001913/0.3698, allocations: 488.6 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.37, allocations: 59.91 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.37, allocations: 0 / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.3701, allocations: 40.14 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3705, allocations: 31.81 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.3711, allocations: 304.9 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3712, allocations: 96.73 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.3712, allocations: 15.44 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3712, allocations: 3.938 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004651/0.3759, allocations: 2.069 MB / 0.5715 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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: 8.186938440892845]