Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001317/0.001317, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.00173/0.00173, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 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.9688/0.9688, allocations: 177 MB / 205.2 MB, free: 5.602 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.2691/0.2691, allocations: 34.86 MB / 296.6 MB, free: 0.5547 MB / 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.838e-05, allocations: 2.312 kB / 378.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003446/0.003474, allocations: 1.764 MB / 380.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.005296, allocations: 1.009 MB / 381.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005397, allocations: 7.938 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.005715, allocations: 39.72 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.006088, allocations: 95.47 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.006339, allocations: 83.66 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.006551, allocations: 115.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.006652, allocations: 7.984 kB / 382 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.006771, allocations: 51.89 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.006857, allocations: 27.84 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.006878, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.006989, allocations: 43.92 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.00705, allocations: 19.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.007101, allocations: 23.86 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.007345, allocations: 107.6 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.007349, allocations: 0 / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00735, allocations: 4 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.007356, allocations: 4 kB / 382.2 MB, free: 14.91 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.0005929/0.007949, allocations: 447.8 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.007996, allocations: 12.03 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.00806, allocations: 12.89 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.008314, allocations: 156.8 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.008335, allocations: 384 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.008358, allocations: 4.375 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.008523, allocations: 58.94 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.008536, allocations: 192 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.008552, allocations: 16.38 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.008561, allocations: 3.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.008615, allocations: 11.98 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.009011, allocations: 283.8 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.009158, allocations: 55.11 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.009205, allocations: 23.67 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.009218, allocations: 0 / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.009355, allocations: 68.98 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.009357, allocations: 7.938 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000514/0.009871, allocations: 157.3 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.009908, allocations: 51.41 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01012, allocations: 237.9 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01014, allocations: 29.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.01022, allocations: 158.8 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.01026, allocations: 27.78 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.0103, allocations: 27.38 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.01046, allocations: 0.4962 MB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.0105, allocations: 11.98 kB / 384.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.01056, allocations: 39.36 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.01064, allocations: 47.36 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01065, allocations: 4 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.01081, allocations: 93.52 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01083, allocations: 6.656 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01083, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01085, allocations: 0 / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01096, allocations: 23.92 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01096, allocations: 0 / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.01101, allocations: 7.984 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.01102, allocations: 4 kB / 384.8 MB, free: 12.14 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 9.554e-05/0.01112, allocations: 164.6 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.01115, allocations: 15.89 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.01136, allocations: 107.1 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01136, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01136, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01136, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.0118, allocations: 397.3 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.0118, allocations: 4 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.777e-05/0.01185, allocations: 16.03 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01185, allocations: 3.984 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.01187, allocations: 4 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01187, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01188, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.0121, allocations: 263.4 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01212, allocations: 11.91 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01214, allocations: 7.938 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.01222, allocations: 0 / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01226, allocations: 15.92 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.01228, allocations: 8 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.0124, allocations: 180.2 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0124, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.01271, allocations: 23.94 kB / 386 MB, free: 10.86 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.001256/0.01397, allocations: 428.3 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01411, allocations: 59.53 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01411, allocations: 0 / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.949e-05/0.01416, allocations: 31.67 kB / 386.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.01448, allocations: 39.61 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.01488, allocations: 221.8 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.01493, allocations: 67.34 kB / 386.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.01497, allocations: 21.27 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.01501, allocations: 20.5 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01501, allocations: 0 / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.004774/0.01978, allocations: 1.864 MB / 388.7 MB, free: 8.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.1150444499216974]