Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.0006827/0.0006827, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003169/0.003169, allocations: 158.7 kB / 24.7 MB, free: 9.441 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.8943/0.8943, allocations: 177 MB / 204.9 MB, free: 5.75 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.2779/0.2779, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.783e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.2193/0.2193, allocations: 1.714 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2208, allocations: 1.677 MB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.2209, allocations: 0 / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.2211, allocations: 30.41 kB / 446.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.2214, allocations: 106.1 kB / 447 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.2215, allocations: 85.75 kB / 447.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2216, allocations: 112.6 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.2217, allocations: 5.531 kB / 447.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.2217, allocations: 54.42 kB / 447.3 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.2218, allocations: 41.12 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2218, allocations: 5.5 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.222, allocations: 102.3 kB / 447.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.222, allocations: 28.98 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.222, allocations: 24.72 kB / 447.5 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2222, allocations: 170.4 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2222, allocations: 0 / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2222, allocations: 0 / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2222, allocations: 0 / 447.6 MB, free: 42.39 MB / 410.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.0003792/0.2226, allocations: 354.7 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2227, allocations: 11.22 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.2227, allocations: 14.09 kB / 448 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2229, allocations: 143.2 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2229, allocations: 3.375 kB / 448.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2229, allocations: 14.47 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2231, allocations: 97.19 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2231, allocations: 9.172 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2231, allocations: 2.688 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2231, allocations: 0 / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.2231, allocations: 18.84 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.2234, allocations: 231.7 kB / 448.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2235, allocations: 59.95 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.2235, allocations: 25.7 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2235, allocations: 3.5 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.276e-05/0.2236, allocations: 69.67 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2236, allocations: 0 / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003862/0.224, allocations: 177.1 kB / 448.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.224, allocations: 84.02 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2241, allocations: 163.9 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2241, allocations: 29.7 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.2242, allocations: 94.31 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2242, allocations: 29.2 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.2242, allocations: 28.52 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.2242, allocations: 324.5 kB / 449.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.334e-05/0.2243, allocations: 22.12 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.2243, allocations: 71.91 kB / 449.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.2244, allocations: 62.53 kB / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2244, allocations: 0 / 449.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001018/0.2245, allocations: 110.4 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2245, allocations: 6.062 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2245, allocations: 2.375 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2245, allocations: 6.469 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.2246, allocations: 16.62 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2246, allocations: 0 / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.2246, allocations: 10.19 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2246, allocations: 2.719 kB / 449.9 MB, free: 40.52 MB / 410.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 4.842e-05/0.2247, allocations: 123.4 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2247, allocations: 9.297 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.2248, allocations: 124.3 kB / 450.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2248, allocations: 0 / 450.1 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2248, allocations: 2.938 kB / 450.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2248, allocations: 0 / 450.2 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.225, allocations: 350.5 kB / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.225, allocations: 0 / 450.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.2251, allocations: 12.84 kB / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2251, allocations: 0 / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2251, allocations: 6.094 kB / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2251, allocations: 1.641 kB / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2251, allocations: 7 kB / 450.5 MB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.2252, allocations: 211.5 kB / 450.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.2252, allocations: 13.92 kB / 450.7 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2252, allocations: 6.469 kB / 450.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.2253, allocations: 6.062 kB / 450.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.2253, allocations: 5.812 kB / 450.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.2253, allocations: 5.312 kB / 450.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.2253, allocations: 141.3 kB / 450.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2253, allocations: 0 / 450.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.2255, allocations: 51.61 kB / 451 MB, free: 39.74 MB / 410.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.0008409/0.2264, allocations: 0.5822 MB / 451.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2265, allocations: 56.94 kB / 451.6 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2265, allocations: 0 / 451.6 MB, free: 39.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.2265, allocations: 32.08 kB / 451.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2267, allocations: 32.69 kB / 451.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.227, allocations: 230.1 kB / 451.9 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.2271, allocations: 93.58 kB / 452 MB, free: 39.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2271, allocations: 20.48 kB / 452 MB, free: 39.2 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2271, allocations: 0 / 452 MB, free: 39.2 MB / 410.7 MB Notification: Performance of Templates: time 0.002533/0.2297, allocations: 2.457 MB / 454.4 MB, free: 38.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989827176555991]