Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001023/0.001023, allocations: 95.5 kB / 21.2 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.001272/0.001272, allocations: 160.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.995/0.995, allocations: 177 MB / 204.8 MB, free: 5.578 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.2777/0.2777, allocations: 34.85 MB / 296.3 MB, free: 0.543 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.077e-05/5.377e-05, allocations: 6.875 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003437/0.003491, allocations: 1.773 MB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.005584, allocations: 1.733 MB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.005673, allocations: 3.938 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.006, allocations: 31.83 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.006428, allocations: 111.3 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.006659, allocations: 79.66 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.006851, allocations: 119.6 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.006943, allocations: 7.984 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.007036, allocations: 63.77 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.007144, allocations: 35.89 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.007164, allocations: 8 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.007327, allocations: 107.8 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.007378, allocations: 19.92 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.007421, allocations: 27.91 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.007675, allocations: 167.4 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.007679, allocations: 0 / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.00768, allocations: 8 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.007685, allocations: 0 / 383.1 MB, free: 13.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005376/0.008223, allocations: 459.7 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.008263, allocations: 8.031 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.008319, allocations: 12.89 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.008517, allocations: 156.4 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.00854, allocations: 4.375 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.008562, allocations: 384 / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.008743, allocations: 116 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.008755, allocations: 8.172 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.008767, allocations: 4.375 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008776, allocations: 7.938 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.008827, allocations: 23.91 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.009184, allocations: 287.7 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.009321, allocations: 67.09 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.009358, allocations: 23.67 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.00937, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.00948, allocations: 77.05 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.009481, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004141/0.009895, allocations: 181.3 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.00993, allocations: 77.11 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01007, allocations: 220.1 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.01008, allocations: 25.7 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.01014, allocations: 146.9 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.01017, allocations: 35.73 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.01021, allocations: 31.38 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01032, allocations: 0.4923 MB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.01036, allocations: 11.98 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.244e-05/0.01041, allocations: 72.75 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.01048, allocations: 59.34 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01048, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001397/0.01062, allocations: 101.5 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01063, allocations: 8 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01064, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01065, allocations: 0 / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.01073, allocations: 19.98 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01074, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.01077, allocations: 4 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01078, allocations: 8.031 kB / 385.8 MB, free: 10.72 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 (11): * Single equations (assignments): 11 * 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.018e-05/0.01086, allocations: 160.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.01088, allocations: 23.84 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.01106, allocations: 118.4 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.01107, allocations: 4 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01107, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01107, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.01138, allocations: 412.9 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01139, allocations: 4 kB / 386.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.01142, allocations: 16.02 kB / 386.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01142, allocations: 4 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01143, allocations: 0 / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01144, allocations: 4 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01144, allocations: 480 / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.0116, allocations: 279.6 kB / 386.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.01162, allocations: 19.89 kB / 386.9 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01164, allocations: 8 kB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.01168, allocations: 0 / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01172, allocations: 7.984 kB / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01173, allocations: 8 kB / 386.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.01181, allocations: 176 kB / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01181, allocations: 0 / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01204, allocations: 43.88 kB / 387.1 MB, free: 9.371 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 (11): * Single equations (assignments): 9 * 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.001168/0.01321, allocations: 0.5307 MB / 387.6 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01336, allocations: 67.53 kB / 387.7 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01336, allocations: 4 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.01341, allocations: 35.61 kB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01364, allocations: 37.88 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01401, allocations: 221.9 kB / 388 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.133e-05/0.01405, allocations: 71.33 kB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.0141, allocations: 16.64 kB / 388.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.01415, allocations: 28.48 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01415, allocations: 0 / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Templates: time 0.004717/0.01886, allocations: 2.896 MB / 391 MB, free: 5.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.274451202247292]