Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001144/0.001144, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001153/0.001153, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 0.9689/0.9689, allocations: 177 MB / 205.9 MB, free: 4.457 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.1813/0.1813, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.984e-05, allocations: 5.156 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002465/0.002485, allocations: 1.77 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.00382, allocations: 1.001 MB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.003911, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.004231, allocations: 107.6 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.00456, allocations: 135.4 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.004772, allocations: 83.66 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.004941, allocations: 123.6 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.656e-05/0.005027, allocations: 11.98 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.005113, allocations: 67.81 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.005206, allocations: 63.86 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.005221, allocations: 4 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.005328, allocations: 63.84 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.005376, allocations: 27.86 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.00541, allocations: 27.86 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.005582, allocations: 123.6 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005584, allocations: 0 / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005585, allocations: 4 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005588, allocations: 0 / 383.7 MB, free: 19.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000342/0.00593, allocations: 479.5 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.005961, allocations: 8.031 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.005999, allocations: 24.77 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.006122, allocations: 164.3 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006136, allocations: 384 / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.006152, allocations: 4.375 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.00625, allocations: 66.92 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.00626, allocations: 192 / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.006267, allocations: 4.375 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.006273, allocations: 3.938 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.115e-05/0.006305, allocations: 11.98 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.006544, allocations: 280.3 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.006688, allocations: 55.03 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.006711, allocations: 15.69 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.006722, allocations: 0 / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/0.006809, allocations: 73.09 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.00681, allocations: 7.938 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004522/0.007262, allocations: 205.3 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.007284, allocations: 51.41 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007403, allocations: 257.9 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007416, allocations: 29.69 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.007466, allocations: 166.8 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.007496, allocations: 31.7 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.007537, allocations: 43.28 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.007593, allocations: 0.5001 MB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.007615, allocations: 15.98 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.007649, allocations: 42.59 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.007708, allocations: 59.02 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.007709, allocations: 4 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001232/0.007832, allocations: 101.5 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.007843, allocations: 8 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.007849, allocations: 0 / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.00786, allocations: 4 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.007925, allocations: 19.98 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007928, allocations: 11.97 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.007963, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.007971, allocations: 8 kB / 386.4 MB, free: 16.12 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 (13): * Single equations (assignments): 13 * 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.083e-05/0.008032, allocations: 168.5 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.008055, allocations: 19.84 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.008214, allocations: 119.8 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008216, allocations: 0 / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.008218, allocations: 0 / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.008223, allocations: 3.984 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.008523, allocations: 421.1 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.008526, allocations: 3.984 kB / 387.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.008563, allocations: 16 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.008566, allocations: 0 / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008574, allocations: 8 kB / 387.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008577, allocations: 3.984 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008578, allocations: 0 / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.008727, allocations: 283 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.008742, allocations: 11.91 kB / 387.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.008764, allocations: 4 kB / 387.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.008826, allocations: 12.05 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.008856, allocations: 7.984 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.008871, allocations: 4 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.922e-05/0.008941, allocations: 188.1 kB / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008941, allocations: 0 / 387.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000252/0.009193, allocations: 31.88 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.01027, allocations: 493.5 kB / 388.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.01037, allocations: 63.58 kB / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01037, allocations: 0 / 388.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.01041, allocations: 35.61 kB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01068, allocations: 31.97 kB / 388.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.01097, allocations: 280.2 kB / 388.6 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.01101, allocations: 79.12 kB / 388.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.01105, allocations: 24.61 kB / 388.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.01111, allocations: 94.19 kB / 388.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01111, allocations: 0 / 388.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003712/0.01483, allocations: 2.344 MB / 391.1 MB, free: 11.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.4173782039433718]