Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.00214/0.00214, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001993/0.001993, allocations: 164.8 kB / 24.27 MB, free: 156 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 1.592/1.592, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.417/0.417, allocations: 34.26 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.691e-05, allocations: 12.7 kB / 377.3 MB, free: 2.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003648/0.003685, allocations: 1.688 MB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.0058, allocations: 0.9776 MB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.005885, allocations: 7.938 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.00626, allocations: 67.72 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.006678, allocations: 107.6 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.006907, allocations: 79.59 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.007127, allocations: 103.6 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.007177, allocations: 8.219 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.00732, allocations: 63.77 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.007445, allocations: 43.89 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.007481, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.007581, allocations: 31.92 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.007658, allocations: 27.86 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.007712, allocations: 19.92 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.00795, allocations: 95.7 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.007954, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007955, allocations: 3.938 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.007961, allocations: 0 / 380.6 MB, free: 15.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007359/0.008697, allocations: 447.6 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.008747, allocations: 8.031 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.008816, allocations: 8.891 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.009173, allocations: 161.1 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.009192, allocations: 384 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.009208, allocations: 384 / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.00941, allocations: 50.23 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.009423, allocations: 192 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.009439, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.00945, allocations: 3.938 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.009542, allocations: 19.92 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.01036, allocations: 156.6 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.0106, allocations: 55.11 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.01066, allocations: 15.67 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.01069, allocations: 4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.01091, allocations: 76.98 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.01091, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003981/0.01131, allocations: 93.58 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.01139, allocations: 55.34 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.01173, allocations: 250.4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.01176, allocations: 33.7 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.0119, allocations: 150.9 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.01196, allocations: 15.89 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.01202, allocations: 27.38 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004195/0.01244, allocations: 0.5001 MB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.01249, allocations: 8 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.67e-05/0.01258, allocations: 43.28 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.0127, allocations: 47.36 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.0127, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001848/0.01289, allocations: 85.58 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01291, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.01292, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.01295, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01305, allocations: 11.94 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01306, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.01312, allocations: 11.92 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.01313, allocations: 0 / 382.9 MB, free: 12.97 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 (7): * Single equations (assignments): 7 * 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 0.0001941/0.01332, allocations: 162.8 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.01336, allocations: 27.83 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.01362, allocations: 82.86 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.01363, allocations: 8 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.01364, allocations: 7.922 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01365, allocations: 0 / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.01387, allocations: 148.6 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01387, allocations: 384 / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.0139, allocations: 4 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01391, allocations: 4 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01392, allocations: 7.938 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01392, allocations: 4 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01392, allocations: 0 / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01418, allocations: 132.2 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.01421, allocations: 7.953 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.01423, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.01427, allocations: 7.984 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.01433, allocations: 7.938 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.01435, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001904/0.01454, allocations: 183.1 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01454, allocations: 0 / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01477, allocations: 15.94 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.003116/0.01789, allocations: 424.6 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.01813, allocations: 51.59 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01813, allocations: 0 / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.01822, allocations: 27.67 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.01857, allocations: 31.91 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.01927, allocations: 202.1 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.01941, allocations: 97.25 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.701e-05/0.01945, allocations: 12.55 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.01951, allocations: 20.5 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01951, allocations: 0 / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.005863/0.02537, allocations: 1.631 MB / 386.2 MB, free: 9.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1082566670374945]