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.001398/0.001398, allocations: 80.34 kB / 22.21 MB, free: 2.277 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.002405/0.002405, allocations: 165.5 kB / 25.61 MB, free: 8.887 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 1.124/1.124, allocations: 177 MB / 205.9 MB, free: 4.438 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.2441/0.2441, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.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 2.124e-06/2.124e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.432e-05, allocations: 8.25 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002287/0.002312, allocations: 1.698 MB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003545, allocations: 0.9853 MB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.003635, allocations: 3.938 kB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.003989, allocations: 83.64 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.004318, allocations: 119.5 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.004496, allocations: 75.61 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.004657, allocations: 119.6 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.004705, allocations: 240 / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.004804, allocations: 63.81 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004911, allocations: 51.89 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.004927, allocations: 0 / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.178e-05/0.005009, allocations: 43.91 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.005066, allocations: 23.86 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.0051, allocations: 19.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.00527, allocations: 91.67 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005273, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005274, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005278, allocations: 4 kB / 383.5 MB, free: 19.27 MB / 314.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.0004061/0.005684, allocations: 459.7 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.005724, allocations: 8.031 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.005763, allocations: 8.891 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.005914, allocations: 160.4 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.005933, allocations: 384 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.00594, allocations: 384 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.006047, allocations: 62.92 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006054, allocations: 192 / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.006062, allocations: 384 / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006068, allocations: 11.94 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.006097, allocations: 11.92 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.00622, allocations: 113.3 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.00632, allocations: 43.09 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.006342, allocations: 15.69 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.006356, allocations: 4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.949e-05/0.006446, allocations: 61.03 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.006447, allocations: 3.938 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001663/0.006613, allocations: 89.58 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.006638, allocations: 51.41 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006743, allocations: 244 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.006755, allocations: 25.7 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.0068, allocations: 158.8 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.006833, allocations: 15.83 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.006862, allocations: 31.36 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.006927, allocations: 0.4962 MB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.006942, allocations: 4 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.006964, allocations: 31.34 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.007004, allocations: 39.31 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007006, allocations: 3.938 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.178e-05/0.007088, allocations: 73.53 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.0071, allocations: 8 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007105, allocations: 0 / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.007116, allocations: 0 / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.007175, allocations: 12.3 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.007181, allocations: 7.938 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.007212, allocations: 4 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007218, allocations: 4.031 kB / 385.7 MB, free: 16.82 MB / 314.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 5.541e-05/0.007273, allocations: 160.6 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007288, allocations: 15.91 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.007387, allocations: 78.77 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007388, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.007392, allocations: 4 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.007397, allocations: 7.922 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.331e-05/0.007471, allocations: 121.2 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007472, allocations: 0 / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.007486, allocations: 8 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007488, allocations: 0 / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007495, allocations: 7.984 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007496, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.007497, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.007571, allocations: 120.2 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.007585, allocations: 11.94 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.0076, allocations: 3.984 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.007617, allocations: 0 / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.007643, allocations: 4 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.007655, allocations: 3.984 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.007707, allocations: 173.6 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007707, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.007853, allocations: 23.94 kB / 386.4 MB, free: 16.02 MB / 314.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.0008248/0.008678, allocations: 392.1 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.249e-05/0.00877, allocations: 43.59 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008772, allocations: 0 / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.008797, allocations: 19.69 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.008986, allocations: 32.97 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.009283, allocations: 202.8 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.009313, allocations: 71.2 kB / 387.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.009343, allocations: 12.47 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.009399, allocations: 90.25 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009399, allocations: 0 / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Templates: time 0.003467/0.01287, allocations: 1.809 MB / 389.1 MB, free: 13.49 MB / 314.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.9480165960267186]