Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.00134/0.00134, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001047/0.001047, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9644/0.9644, allocations: 177 MB / 205.1 MB, free: 5.473 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.242/0.242, allocations: 34.86 MB / 296.6 MB, free: 428 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.19e-05, allocations: 3.297 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002547/0.002569, allocations: 1.755 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.003768, allocations: 1.005 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.003856, allocations: 0 / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.004151, allocations: 47.69 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.004441, allocations: 107.5 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.004643, allocations: 83.59 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.004792, allocations: 103.7 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.004869, allocations: 4 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.004957, allocations: 59.77 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.005021, allocations: 27.91 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.005035, allocations: 4 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.005109, allocations: 43.92 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.005152, allocations: 27.84 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.005186, allocations: 19.94 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.005336, allocations: 107.6 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.005339, allocations: 0 / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00534, allocations: 0 / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.005343, allocations: 0 / 382.7 MB, free: 14.29 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.0004081/0.005751, allocations: 471.6 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005786, allocations: 8.031 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.005823, allocations: 20.84 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.005965, allocations: 153.2 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.005981, allocations: 4.375 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.005997, allocations: 384 / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.006105, allocations: 66.94 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006113, allocations: 192 / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.00612, allocations: 384 / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.006126, allocations: 3.938 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.006151, allocations: 15.92 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.006385, allocations: 264.4 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.006467, allocations: 55.14 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.006487, allocations: 11.69 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.006503, allocations: 7.984 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.018e-05/0.006593, allocations: 64.98 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006594, allocations: 0 / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002826/0.006877, allocations: 149.4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.006901, allocations: 55.41 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.00702, allocations: 251 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.007032, allocations: 33.7 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.007086, allocations: 154.8 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.007113, allocations: 31.77 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.007144, allocations: 27.38 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.007258, allocations: 0.5001 MB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.007275, allocations: 11.98 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.007305, allocations: 35.34 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.007349, allocations: 43.31 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.00735, allocations: 3.938 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.328e-05/0.007443, allocations: 89.47 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.007454, allocations: 4 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.00746, allocations: 3.984 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.007473, allocations: 4 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.007532, allocations: 12 kB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007535, allocations: 4.031 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.007565, allocations: 8 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.007569, allocations: 0 / 385.2 MB, free: 11.55 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 7.191e-05/0.007641, allocations: 171.2 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.007658, allocations: 19.84 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.007782, allocations: 99.06 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007785, allocations: 4 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007787, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007789, allocations: 0 / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.008042, allocations: 369.5 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.008045, allocations: 3.984 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.008071, allocations: 15.94 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.008074, allocations: 4 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.008079, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00808, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008081, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.008206, allocations: 255.4 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.008216, allocations: 7.953 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.008234, allocations: 11.98 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.008273, allocations: 4.031 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.008295, allocations: 8.359 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.008305, allocations: 4 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.008373, allocations: 175.1 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008373, allocations: 0 / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000175/0.008548, allocations: 31.89 kB / 386.4 MB, free: 10.31 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.0008865/0.009435, allocations: 431.1 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.009763, allocations: 47.59 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.009765, allocations: 4.062 kB / 386.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.009798, allocations: 31.61 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.01001, allocations: 35.86 kB / 386.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.0103, allocations: 241.5 kB / 387.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.01034, allocations: 71.33 kB / 387.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.01038, allocations: 17.28 kB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.01045, allocations: 86.19 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01045, allocations: 4.062 kB / 387.3 MB, free: 9.426 MB / 362.7 MB Notification: Performance of Templates: time 0.003435/0.01388, allocations: 2.051 MB / 389.4 MB, free: 7.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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: 2.909170642029494]