Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.00102/0.00102, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.000958/0.000958, allocations: 156.5 kB / 24.55 MB, free: 16 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.9578/0.9578, allocations: 177 MB / 204.8 MB, free: 5.246 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.2555/0.2555, allocations: 34.86 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.946e-05, allocations: 3.297 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.006719/0.006748, allocations: 1.753 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005713/0.01246, allocations: 1.745 MB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.01257, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.01294, allocations: 39.7 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.01351, allocations: 103.5 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.01386, allocations: 79.61 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.01444, allocations: 111.6 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.01457, allocations: 7.984 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.01471, allocations: 63.77 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.01486, allocations: 27.91 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.01488, allocations: 8 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.01514, allocations: 103.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.01521, allocations: 19.91 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.01526, allocations: 23.92 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.01562, allocations: 163.4 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.01563, allocations: 0 / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01563, allocations: 0 / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.01564, allocations: 0 / 383.1 MB, free: 13.73 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.0006607/0.0163, allocations: 455.8 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.01634, allocations: 8.031 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.01642, allocations: 16.83 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.01668, allocations: 153 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.01671, allocations: 384 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.01674, allocations: 8.312 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.01702, allocations: 104 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01703, allocations: 7.891 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.01704, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01705, allocations: 7.969 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.01711, allocations: 19.94 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.01756, allocations: 275.8 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01767, allocations: 55.17 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.01771, allocations: 19.61 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01772, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.01784, allocations: 68.98 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.01784, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004405/0.01828, allocations: 157.3 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.01833, allocations: 81.11 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.01848, allocations: 216.7 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01849, allocations: 29.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.01856, allocations: 138.9 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.01859, allocations: 31.77 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.01862, allocations: 27.38 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01876, allocations: 0.4962 MB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.01879, allocations: 11.98 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.01884, allocations: 68.75 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/0.0189, allocations: 51.25 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.0189, allocations: 4.031 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001183/0.01902, allocations: 97.52 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01903, allocations: 8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01904, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01905, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.01913, allocations: 12 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01914, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.01917, allocations: 3.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.01918, allocations: 4 kB / 385.7 MB, free: 10.88 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 8.039e-05/0.01926, allocations: 168.5 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.01927, allocations: 7.953 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.01942, allocations: 110.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01942, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01942, allocations: 3.938 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01943, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.01971, allocations: 389.3 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01971, allocations: 0 / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.01974, allocations: 19.92 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.01974, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.01975, allocations: 8.031 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.01975, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01975, allocations: 0 / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.01989, allocations: 259.4 kB / 386.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.0199, allocations: 7.953 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.01992, allocations: 7.984 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.01996, allocations: 4 kB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.01999, allocations: 7.984 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.02, allocations: 4 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.02007, allocations: 164.1 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02007, allocations: 4 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.02027, allocations: 51.86 kB / 386.9 MB, free: 9.586 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.001035/0.02131, allocations: 0.5258 MB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.02143, allocations: 59.59 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02143, allocations: 0 / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.02147, allocations: 31.61 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.0217, allocations: 31.97 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.02203, allocations: 202.1 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.02207, allocations: 63.34 kB / 387.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.02211, allocations: 16.97 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.02214, allocations: 24.48 kB / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02214, allocations: 0 / 387.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of Templates: time 0.004101/0.02625, allocations: 2.533 MB / 390.4 MB, free: 6.227 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.375552838202566]