Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001003/0.001003, 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.001216/0.001216, 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.9904/0.9904, allocations: 177 MB / 204.8 MB, free: 5.574 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.3169/0.3169, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 4 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.348e-05, allocations: 2.312 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003677/0.00371, allocations: 1.717 MB / 380.6 MB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.005377, allocations: 1.001 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.005459, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.005766, allocations: 55.75 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.006114, allocations: 107.5 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.006328, allocations: 71.67 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.006506, allocations: 107.6 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.00656, allocations: 12.22 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.006673, allocations: 43.84 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.00677, allocations: 27.91 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.006792, allocations: 7.938 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.006894, allocations: 35.98 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.506e-05/0.006969, allocations: 23.92 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.00703, allocations: 23.86 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.007287, allocations: 99.66 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.007295, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007297, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.007306, allocations: 0 / 382.2 MB, free: 14.67 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.0006751/0.007981, allocations: 467.6 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.008037, allocations: 8.031 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.008101, allocations: 20.84 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.008344, allocations: 173.2 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.008365, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.008377, allocations: 4.375 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.008512, allocations: 58.94 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.008519, allocations: 192 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.008528, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.008537, allocations: 7.922 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.008568, allocations: 11.98 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.008741, allocations: 152.6 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.008849, allocations: 51.05 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.008878, allocations: 23.69 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.008889, allocations: 0 / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.00901, allocations: 65.05 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.009012, allocations: 0 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002055/0.009217, allocations: 89.52 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.009255, allocations: 59.34 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.00942, allocations: 269.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.009441, allocations: 33.7 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.00951, allocations: 162.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.009554, allocations: 19.88 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.009594, allocations: 27.38 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.009738, allocations: 0.5001 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.009764, allocations: 11.98 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.009797, allocations: 27.38 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.009849, allocations: 35.31 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.009852, allocations: 3.984 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.009955, allocations: 69.61 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.009969, allocations: 7.984 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.009975, allocations: 8.031 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.00999, allocations: 3.938 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.01007, allocations: 15.88 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01007, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.01011, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.01011, allocations: 0 / 384.5 MB, free: 12.09 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 8.475e-05/0.0102, allocations: 167.1 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.01021, allocations: 15.91 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.01036, allocations: 91.14 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.01036, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.01037, allocations: 7.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01037, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.01051, allocations: 168.5 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01051, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.01055, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.01055, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01056, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01056, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01057, allocations: 3.984 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.01071, allocations: 120.3 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.01073, allocations: 11.91 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.01075, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.01078, allocations: 11.98 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/0.01085, allocations: 7.875 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.01086, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01099, allocations: 196.5 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01099, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.01116, allocations: 20 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.001044/0.0122, allocations: 380.7 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01233, allocations: 39.67 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01234, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.01237, allocations: 31.55 kB / 385.8 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.0002154/0.01259, allocations: 24.05 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.013, allocations: 238.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.01304, allocations: 75.33 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.157e-05/0.01308, allocations: 16.73 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.01311, allocations: 16.48 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01311, allocations: 4 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of Templates: time 0.004302/0.01742, allocations: 1.787 MB / 387.9 MB, free: 8.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.2011965080164373]