Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001649/0.001649, allocations: 85.78 kB / 20.68 MB, free: 0.8906 MB / 14.72 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.002121/0.002121, allocations: 161.8 kB / 23.95 MB, free: 3.914 MB / 14.72 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.67/1.67, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2232/0.2232, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.761e-05, allocations: 10.16 kB / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003318/0.003345, allocations: 1.72 MB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.00528, allocations: 0.9697 MB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.005382, allocations: 7.938 kB / 445.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.005703, allocations: 43.81 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.00614, allocations: 111.4 kB / 445.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.006444, allocations: 75.62 kB / 445.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.006683, allocations: 115.6 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.006788, allocations: 8 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.006917, allocations: 51.83 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/0.007012, allocations: 27.91 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.007038, allocations: 4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.007158, allocations: 43.92 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.007229, allocations: 27.86 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.007295, allocations: 35.84 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.007572, allocations: 127.5 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007575, allocations: 0 / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007576, allocations: 3.938 kB / 446.1 MB, free: 1.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.007587, allocations: 8 kB / 446.1 MB, free: 1.82 MB / 366.1 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.0006568/0.008243, allocations: 377.2 kB / 446.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.008284, allocations: 8.031 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.008345, allocations: 16.84 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.008666, allocations: 165.4 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.008676, allocations: 384 / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.008706, allocations: 8.312 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.008883, allocations: 54.23 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.008895, allocations: 192 / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.00891, allocations: 4.359 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.008916, allocations: 7.938 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.009003, allocations: 23.98 kB / 446.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.009399, allocations: 240.6 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.009599, allocations: 62.59 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.009664, allocations: 24.84 kB / 447.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.009676, allocations: 0 / 447.1 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.009847, allocations: 75.33 kB / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.009849, allocations: 0 / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006606/0.01051, allocations: 197.2 kB / 447.3 MB, free: 472 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.01056, allocations: 55.41 kB / 447.4 MB, free: 404 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.01087, allocations: 281.4 kB / 447.7 MB, free: 116 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.01089, allocations: 29.7 kB / 447.7 MB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2003/0.2112, allocations: 113.7 kB / 447.8 MB, free: 19.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.534e-05/0.2113, allocations: 23.09 kB / 447.8 MB, free: 19.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.2113, allocations: 23.11 kB / 447.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.2114, allocations: 329.3 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2115, allocations: 24.23 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.057e-05/0.2116, allocations: 37.72 kB / 448.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2118, allocations: 64.92 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2118, allocations: 3.062 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002469/0.212, allocations: 114.3 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.212, allocations: 8.891 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.212, allocations: 1.188 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.212, allocations: 1.031 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2122, allocations: 19.34 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2122, allocations: 3.156 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.2122, allocations: 3.453 kB / 448.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2122, allocations: 3.219 kB / 448.5 MB, free: 18.83 MB / 366.1 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 0.0001111/0.2123, allocations: 142 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.2124, allocations: 16.5 kB / 448.6 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.2127, allocations: 135.8 kB / 448.7 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2127, allocations: 5.219 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2127, allocations: 1.75 kB / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2127, allocations: 0 / 448.8 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.2132, allocations: 355.9 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2132, allocations: 0 / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.2132, allocations: 10.03 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2132, allocations: 4.969 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2132, allocations: 11.84 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2132, allocations: 0 / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2132, allocations: 2.719 kB / 449.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.2135, allocations: 216.2 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.2135, allocations: 16.7 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.2135, allocations: 7 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.2136, allocations: 3 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.2136, allocations: 6.344 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2137, allocations: 4 kB / 449.4 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2138, allocations: 223 kB / 449.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2138, allocations: 1.812 kB / 449.6 MB, free: 18.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.2142, allocations: 26.45 kB / 449.6 MB, free: 18.13 MB / 366.1 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.001808/0.216, allocations: 487.8 kB / 450.1 MB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.2162, allocations: 65.17 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2162, allocations: 0 / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.2163, allocations: 29.97 kB / 450.2 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.2166, allocations: 30.22 kB / 450.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.2172, allocations: 311 kB / 450.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.2173, allocations: 116.8 kB / 450.6 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.2173, allocations: 16.89 kB / 450.7 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2173, allocations: 21.38 kB / 450.7 MB, free: 17.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2173, allocations: 0 / 450.7 MB, free: 17.63 MB / 366.1 MB Notification: Performance of Templates: time 0.005937/0.2233, allocations: 1.877 MB / 452.6 MB, free: 17.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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: 5.086213573813438]