Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001532/0.001532, 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.001956/0.001956, 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 1.101/1.101, allocations: 177 MB / 204.8 MB, free: 5.566 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.2851/0.2851, allocations: 34.86 MB / 296.3 MB, free: 484 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.08e-05, allocations: 3.016 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002128/0.002149, allocations: 1.715 MB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003321, allocations: 0.9969 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.003393, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.003697, allocations: 95.62 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004002, allocations: 115.4 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004165, allocations: 75.67 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.004314, allocations: 111.6 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.004349, allocations: 4.234 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/0.004435, allocations: 63.81 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.00452, allocations: 47.88 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004536, allocations: 8 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.048e-05/0.004606, allocations: 39.86 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.004655, allocations: 23.92 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.00469, allocations: 19.92 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004847, allocations: 91.61 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004849, allocations: 0 / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004849, allocations: 4 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004854, allocations: 0 / 382.3 MB, free: 14.54 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.0004208/0.005274, allocations: 447.9 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.00531, allocations: 12.03 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.005353, allocations: 8.891 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.005519, allocations: 160.3 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.005536, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.005547, allocations: 384 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.005658, allocations: 58.94 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.005667, allocations: 4.172 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005676, allocations: 4.375 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.005683, allocations: 3.938 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.005714, allocations: 7.984 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.005864, allocations: 144.7 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.005965, allocations: 55.05 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.005992, allocations: 15.62 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.006005, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.174e-05/0.006096, allocations: 73 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.006097, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001765/0.006274, allocations: 81.56 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.006302, allocations: 59.34 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.006442, allocations: 246.7 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006453, allocations: 25.7 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.006507, allocations: 162.9 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.006538, allocations: 23.83 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.006567, allocations: 23.38 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.006682, allocations: 0.4923 MB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.006702, allocations: 8 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.006731, allocations: 27.36 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.006784, allocations: 43.31 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006786, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.232e-05/0.006868, allocations: 73.59 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006881, allocations: 8.031 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.006887, allocations: 3.984 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.0069, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.006962, allocations: 19.88 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.006967, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.006994, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.007, allocations: 4 kB / 384.5 MB, free: 12.05 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 6.894e-05/0.007069, allocations: 164.6 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.007083, allocations: 11.91 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.007195, allocations: 82.83 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007197, allocations: 4.375 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.007201, allocations: 7.875 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007205, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.007297, allocations: 152.6 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.007298, allocations: 0 / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.007313, allocations: 7.984 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007315, allocations: 0 / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.007322, allocations: 4 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007323, allocations: 0 / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007324, allocations: 3.938 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.007416, allocations: 124.3 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.007428, allocations: 15.89 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.007442, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.007459, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.00749, allocations: 11.92 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.007501, allocations: 4 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.007577, allocations: 181 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007577, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001548/0.007732, allocations: 19.98 kB / 385.3 MB, free: 11.2 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.0008002/0.008532, allocations: 375.8 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.00864, allocations: 35.67 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008642, allocations: 0 / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.008681, allocations: 31.61 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.008874, allocations: 31.5 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.009246, allocations: 220.8 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.009288, allocations: 67.33 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.343e-05/0.009322, allocations: 12.73 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.009349, allocations: 16.48 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009349, allocations: 0 / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003226/0.01257, allocations: 1.658 MB / 387.7 MB, free: 8.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.552226619794965]