Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009711/0.0009711, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001126/0.001126, allocations: 161 kB / 24.99 MB, free: 8.801 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.021/1.021, allocations: 177 MB / 205.2 MB, free: 5.621 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.2967/0.2967, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.88e-05, allocations: 8.5 kB / 378.8 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003787/0.003826, allocations: 1.754 MB / 380.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.005673, allocations: 1.009 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.005791, allocations: 3.938 kB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.006159, allocations: 43.72 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.006561, allocations: 103.5 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.006815, allocations: 79.66 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.007036, allocations: 107.6 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.007143, allocations: 11.98 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.007252, allocations: 47.84 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.007345, allocations: 31.89 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.007366, allocations: 4 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.007479, allocations: 51.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.007545, allocations: 23.86 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.007598, allocations: 19.92 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.007838, allocations: 103.6 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007842, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007843, allocations: 0 / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.007849, allocations: 0 / 382.2 MB, free: 14.89 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006164/0.008465, allocations: 451.8 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.00851, allocations: 8.031 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.008577, allocations: 16.88 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.008818, allocations: 160.8 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.008841, allocations: 384 / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.008863, allocations: 4.375 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.009054, allocations: 62.94 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.009066, allocations: 192 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.009079, allocations: 4.375 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.00909, allocations: 3.938 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.394e-05/0.009144, allocations: 15.98 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.009539, allocations: 287.8 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.00968, allocations: 55.11 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.009727, allocations: 15.69 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.009742, allocations: 4 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.009886, allocations: 72.92 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.009888, allocations: 0 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.01042, allocations: 161.3 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.01047, allocations: 55.41 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01067, allocations: 233.9 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01069, allocations: 29.64 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.01078, allocations: 162.8 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.01082, allocations: 23.8 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.01087, allocations: 35.36 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01102, allocations: 0.4962 MB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.01106, allocations: 8 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.01111, allocations: 35.36 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.0112, allocations: 47.36 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.0112, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.01137, allocations: 93.5 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01138, allocations: 4.031 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01139, allocations: 8 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.01141, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01152, allocations: 19.92 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01152, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.01157, allocations: 11.95 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.01158, allocations: 4 kB / 384.8 MB, free: 12.12 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 (10): * Single equations (assignments): 10 * 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 9.783e-05/0.01168, allocations: 156.6 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.01171, allocations: 15.89 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.01193, allocations: 107.1 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01193, allocations: 4 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01194, allocations: 0 / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.01194, allocations: 4 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.01238, allocations: 401.3 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01239, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.01244, allocations: 12 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.01244, allocations: 7.984 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01245, allocations: 0 / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01246, allocations: 0 / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01246, allocations: 0 / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.01271, allocations: 259.5 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01273, allocations: 19.83 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01276, allocations: 8 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.01281, allocations: 0 / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.01284, allocations: 11.92 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01286, allocations: 4 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.185e-05/0.01295, allocations: 180.2 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01295, allocations: 0 / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.01314, allocations: 31.92 kB / 386 MB, free: 10.84 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 (9): * Single equations (assignments): 7 * 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.001074/0.01421, allocations: 434.2 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.01434, allocations: 55.53 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01434, allocations: 0 / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.01438, allocations: 31.67 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.01464, allocations: 27.92 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.01503, allocations: 229.8 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.01508, allocations: 67.33 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.01512, allocations: 25.39 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.01516, allocations: 16.5 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01516, allocations: 0 / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.004029/0.01919, allocations: 1.873 MB / 388.7 MB, free: 8.188 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.2026499619241804]