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.001122/0.001122, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001108/0.001108, allocations: 156.5 kB / 24.55 MB, free: 20 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.9406/0.9406, allocations: 177 MB / 204.8 MB, free: 5.586 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.2854/0.2854, allocations: 34.87 MB / 296.3 MB, free: 492 kB / 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.138e-05, allocations: 3.156 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002627/0.002648, allocations: 1.764 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.003911, allocations: 1.009 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.00398, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.004264, allocations: 55.69 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.004534, allocations: 95.53 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.004705, allocations: 83.55 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.00485, allocations: 107.7 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.004934, allocations: 8 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.005015, allocations: 55.78 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.005081, allocations: 23.89 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.005096, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.005183, allocations: 51.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.005234, allocations: 23.91 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.005271, allocations: 19.88 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.005435, allocations: 103.6 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005438, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005439, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005444, allocations: 4 kB / 382.3 MB, free: 14.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004155/0.005859, allocations: 447.8 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.005898, allocations: 12.03 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.005939, allocations: 12.88 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.006094, allocations: 160.9 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.006117, allocations: 4.375 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.006139, allocations: 4.375 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.006252, allocations: 66.88 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.00626, allocations: 4.125 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.00627, allocations: 384 / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.006278, allocations: 7.938 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.006311, allocations: 15.98 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.006597, allocations: 279.8 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.006695, allocations: 55.11 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.006722, allocations: 15.69 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006737, allocations: 11.98 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/0.006829, allocations: 68.98 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.00683, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003561/0.007186, allocations: 161.3 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.007212, allocations: 51.41 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.007345, allocations: 237.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.007358, allocations: 25.7 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.007417, allocations: 158.8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.007442, allocations: 27.78 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.007475, allocations: 35.36 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007588, allocations: 0.4962 MB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.00761, allocations: 8 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.007644, allocations: 39.3 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.0077, allocations: 47.36 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.0077, allocations: 4 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.742e-05/0.007798, allocations: 89.52 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.007809, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007813, allocations: 4.031 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007825, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.007889, allocations: 19.98 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.007894, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.00792, allocations: 7.953 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007926, allocations: 4 kB / 384.8 MB, free: 11.78 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 (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.943e-05/0.007996, allocations: 164.5 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.008013, allocations: 15.89 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.008155, allocations: 107.1 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008157, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.00816, allocations: 4.375 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008163, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.008427, allocations: 404.9 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.008431, allocations: 8 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.008453, allocations: 8 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008455, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008462, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008463, allocations: 4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008464, allocations: 0 / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.008597, allocations: 255.4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.008615, allocations: 19.92 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.008631, allocations: 4 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.008668, allocations: 4 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.008698, allocations: 7.984 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.008711, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.008784, allocations: 180.2 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008784, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.008951, allocations: 27.92 kB / 386 MB, free: 10.5 MB / 362.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.0008821/0.009833, allocations: 436.4 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.00994, allocations: 55.59 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009942, allocations: 3.938 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.009983, allocations: 35.66 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.0102, allocations: 27.22 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.01052, allocations: 229.8 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.01056, allocations: 71.33 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.0106, allocations: 25.39 kB / 386.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.01063, allocations: 16.5 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of SimCode: time 5.52e-07/0.01063, allocations: 0 / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of Templates: time 0.003367/0.014, allocations: 1.869 MB / 388.7 MB, free: 7.844 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] 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","",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.289025641977787]