Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.000854/0.000854, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003405/0.003405, allocations: 154.5 kB / 24.69 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.8933/0.8933, allocations: 177 MB / 204.9 MB, free: 5.754 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.3101/0.3101, allocations: 34.24 MB / 295.6 MB, free: 0.7031 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 443.5 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.535e-05/4.787e-05, allocations: 8.812 kB / 443.5 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.2271/0.2272, allocations: 1.706 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2283, allocations: 0.9784 MB / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.2284, allocations: 0 / 446.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.2287, allocations: 36.78 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.2289, allocations: 103 kB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.2291, allocations: 77.44 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.2293, allocations: 109.1 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2294, allocations: 8.703 kB / 446.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.2295, allocations: 53.55 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.2295, allocations: 26.98 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2295, allocations: 3.062 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.2296, allocations: 50.27 kB / 446.7 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.2297, allocations: 23.42 kB / 446.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2297, allocations: 19.09 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2299, allocations: 119.2 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2299, allocations: 0 / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2299, allocations: 0 / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2299, allocations: 0.7812 kB / 446.8 MB, free: 42.98 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.0004601/0.2304, allocations: 343.7 kB / 447.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2304, allocations: 8.031 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.2305, allocations: 10.17 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.2307, allocations: 151.3 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2307, allocations: 2.969 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2307, allocations: 11.28 kB / 447.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2308, allocations: 57.31 kB / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2308, allocations: 192 / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2308, allocations: 384 / 447.4 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2308, allocations: 4.719 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.2309, allocations: 21.5 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.2312, allocations: 228.2 kB / 447.6 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2313, allocations: 57.41 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.2313, allocations: 20.55 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2313, allocations: 6.469 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.2314, allocations: 72.47 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2314, allocations: 0 / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.2319, allocations: 192.5 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2319, allocations: 57.56 kB / 448 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.232, allocations: 180.2 kB / 448.2 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.232, allocations: 28.58 kB / 448.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.232, allocations: 102.4 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.2321, allocations: 32.64 kB / 448.4 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.2321, allocations: 21.25 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.2321, allocations: 325 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.2322, allocations: 18.58 kB / 448.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.2322, allocations: 42.75 kB / 448.8 MB, free: 41.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.2323, allocations: 64.66 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2323, allocations: 0 / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001153/0.2324, allocations: 109 kB / 448.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2324, allocations: 9.969 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2324, allocations: 0 / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2324, allocations: 2.844 kB / 448.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.2325, allocations: 15.02 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2325, allocations: 3.156 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.2325, allocations: 0 / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2325, allocations: 6.875 kB / 449 MB, free: 41.22 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 6.234e-05/0.2326, allocations: 129.7 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.2326, allocations: 13.89 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.2328, allocations: 120.2 kB / 449.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2328, allocations: 9.188 kB / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2328, allocations: 0 / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2328, allocations: 0 / 449.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.2331, allocations: 349.2 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2331, allocations: 2.875 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.2331, allocations: 8.781 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2331, allocations: 0 / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2331, allocations: 10.08 kB / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2331, allocations: 0 / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2331, allocations: 0 / 449.6 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2332, allocations: 219.8 kB / 449.8 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.2332, allocations: 10.78 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2332, allocations: 2.844 kB / 449.8 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.2333, allocations: 10.66 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2333, allocations: 5.906 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.2333, allocations: 6.203 kB / 449.8 MB, free: 40.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.2334, allocations: 141.1 kB / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2334, allocations: 0 / 450 MB, free: 40.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.2336, allocations: 25.03 kB / 450 MB, free: 40.45 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.0008321/0.2344, allocations: 491.2 kB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.2345, allocations: 60.8 kB / 450.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2345, allocations: 0 / 450.5 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.2346, allocations: 36.72 kB / 450.6 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.2348, allocations: 38.06 kB / 450.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2352, allocations: 247.3 kB / 450.9 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.2353, allocations: 87.81 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.2353, allocations: 28.27 kB / 451 MB, free: 39.94 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2353, allocations: 0 / 451 MB, free: 39.94 MB / 410.7 MB Notification: Performance of Templates: time 0.00314/0.2384, allocations: 1.972 MB / 452.9 MB, free: 39.72 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.954780247062445]