Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001354/0.001354, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001463/0.001463, allocations: 158.3 kB / 23.95 MB, free: 4.168 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.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.2236/0.2236, allocations: 34.26 MB / 294.8 MB, free: 14.53 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/3.96e-05, allocations: 6.219 kB / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003437/0.003477, allocations: 1.722 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.005445, allocations: 0.9775 MB / 445.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.005534, allocations: 3.938 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.0059, allocations: 39.81 kB / 445.5 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.006296, allocations: 95.42 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.006536, allocations: 79.61 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.006767, allocations: 115.6 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.00689, allocations: 4 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.00703, allocations: 59.81 kB / 445.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.007121, allocations: 23.92 kB / 445.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.007146, allocations: 8 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.007267, allocations: 43.92 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.007342, allocations: 27.84 kB / 445.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.007395, allocations: 15.94 kB / 445.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.007683, allocations: 119.5 kB / 446.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.007687, allocations: 4 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.007689, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.0077, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.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.0006626/0.008362, allocations: 349.5 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.008401, allocations: 12.03 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.008448, allocations: 8.891 kB / 446.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.008762, allocations: 165.4 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.008774, allocations: 4.375 kB / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.008796, allocations: 384 / 446.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.008956, allocations: 62.16 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008968, allocations: 192 / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.008977, allocations: 4.375 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.008986, allocations: 3.938 kB / 446.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.009077, allocations: 23.98 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.009448, allocations: 232.6 kB / 446.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.009644, allocations: 66.61 kB / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.009704, allocations: 16.86 kB / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.009715, allocations: 0 / 447 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.009882, allocations: 75.31 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.009883, allocations: 0 / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006435/0.01053, allocations: 189.3 kB / 447.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.01057, allocations: 51.41 kB / 447.3 MB, free: 492 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01081, allocations: 214.4 kB / 447.5 MB, free: 268 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.01085, allocations: 29.7 kB / 447.5 MB, free: 232 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.01093, allocations: 108.1 kB / 447.6 MB, free: 120 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.01097, allocations: 27.78 kB / 447.7 MB, free: 92 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.01102, allocations: 21.72 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2443/0.2553, allocations: 322.8 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.2555, allocations: 18.97 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2556, allocations: 41.14 kB / 448.1 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2557, allocations: 64.66 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2557, allocations: 1.719 kB / 448.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002461/0.256, allocations: 110.2 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.256, allocations: 9.438 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.256, allocations: 7.984 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.256, allocations: 0 / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2561, allocations: 16.34 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2561, allocations: 1.062 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.2562, allocations: 2.703 kB / 448.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.2562, allocations: 3.062 kB / 448.3 MB, free: 18.89 MB / 366.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 9.989e-05/0.2563, allocations: 129 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2563, allocations: 14.17 kB / 448.4 MB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.2566, allocations: 129.5 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2566, allocations: 5 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2566, allocations: 3.938 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2566, allocations: 2.047 kB / 448.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.2571, allocations: 347.8 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2571, allocations: 0 / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.2571, allocations: 11.86 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2571, allocations: 0 / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2571, allocations: 8.906 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2572, allocations: 1.922 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2572, allocations: 3.75 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2574, allocations: 216 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.2574, allocations: 10.59 kB / 449.1 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2574, allocations: 10.58 kB / 449.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.2575, allocations: 3.406 kB / 449.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2575, allocations: 6.875 kB / 449.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2576, allocations: 2.812 kB / 449.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.2577, allocations: 159.7 kB / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 0 / 449.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000276/0.258, allocations: 29.39 kB / 449.4 MB, free: 18.28 MB / 366.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.00184/0.2598, allocations: 490.3 kB / 449.8 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.26, allocations: 60.2 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.26, allocations: 5.062 kB / 449.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.2601, allocations: 25.3 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.2605, allocations: 31.52 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.2609, allocations: 256.8 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.261, allocations: 92.02 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.2611, allocations: 21.45 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.2611, allocations: 16.89 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2611, allocations: 0 / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005983/0.2671, allocations: 1.857 MB / 452.2 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.026990439742804]