Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.307/2.307, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3947/0.3947, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002967/0.002967, allocations: 71.89 kB / 417.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1933, allocations: 62.43 MB / 479.9 MB, free: 9.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.006542/0.1999, allocations: 1.781 MB / 481.7 MB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.2032, allocations: 1.025 MB / 482.7 MB, free: 6.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2034, allocations: 0 / 482.7 MB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.2039, allocations: 39.83 kB / 482.8 MB, free: 6.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.2045, allocations: 75.75 kB / 482.9 MB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2049, allocations: 67.81 kB / 482.9 MB, free: 6.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.2052, allocations: 99.69 kB / 483 MB, free: 5.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2054, allocations: 4 kB / 483 MB, free: 5.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2056, allocations: 43.78 kB / 483.1 MB, free: 5.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2057, allocations: 39.78 kB / 483.1 MB, free: 5.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2058, allocations: 4 kB / 483.1 MB, free: 5.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.206, allocations: 39.92 kB / 483.2 MB, free: 5.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.2061, allocations: 19.91 kB / 483.2 MB, free: 5.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2062, allocations: 35.75 kB / 483.2 MB, free: 5.777 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.2065, allocations: 92.09 kB / 483.3 MB, free: 5.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2065, allocations: 0 / 483.3 MB, free: 5.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2066, allocations: 0 / 483.3 MB, free: 5.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.2066, allocations: 0 / 483.3 MB, free: 5.688 MB / 398.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.0009726/0.2076, allocations: 415 kB / 483.7 MB, free: 5.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.2076, allocations: 12.88 kB / 483.7 MB, free: 5.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.2077, allocations: 12.75 kB / 483.7 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.2082, allocations: 216.7 kB / 483.9 MB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2082, allocations: 4.375 kB / 483.9 MB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.2083, allocations: 8.125 kB / 484 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2085, allocations: 53.67 kB / 484 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2086, allocations: 0 / 484 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2086, allocations: 0 / 484 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2086, allocations: 8 kB / 484 MB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2088, allocations: 15.98 kB / 484 MB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2095, allocations: 288.8 kB / 484.3 MB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.2098, allocations: 58.67 kB / 484.4 MB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2099, allocations: 20.86 kB / 484.4 MB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.21, allocations: 3.984 kB / 484.4 MB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.2103, allocations: 71.23 kB / 484.5 MB, free: 4.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.2104, allocations: 0 / 484.5 MB, free: 4.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009344/0.2113, allocations: 165.6 kB / 484.6 MB, free: 4.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.2114, allocations: 59.33 kB / 484.7 MB, free: 4.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.2117, allocations: 198.9 kB / 484.9 MB, free: 3.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2118, allocations: 29.7 kB / 484.9 MB, free: 3.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.37e-05/0.2119, allocations: 100.1 kB / 485 MB, free: 3.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.2119, allocations: 27.69 kB / 485 MB, free: 3.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.212, allocations: 29.66 kB / 485.1 MB, free: 3.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2122, allocations: 326.8 kB / 485.4 MB, free: 3.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2124, allocations: 20.05 kB / 485.4 MB, free: 3.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2125, allocations: 41.7 kB / 485.4 MB, free: 3.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.2128, allocations: 61.64 kB / 485.5 MB, free: 3.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2128, allocations: 0 / 485.5 MB, free: 3.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003903/0.2132, allocations: 101.5 kB / 485.6 MB, free: 3.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2132, allocations: 4 kB / 485.6 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2132, allocations: 0 / 485.6 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2133, allocations: 0 / 485.6 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2135, allocations: 23.92 kB / 485.6 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2135, allocations: 32 / 485.6 MB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.2136, allocations: 15.92 kB / 485.6 MB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2136, allocations: 4 kB / 485.6 MB, free: 3.105 MB / 398.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.000174/0.2138, allocations: 125.8 kB / 485.8 MB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.2139, allocations: 11.84 kB / 485.8 MB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.214, allocations: 17.39 kB / 485.8 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.214, allocations: 4 kB / 485.8 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.214, allocations: 0 / 485.8 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.214, allocations: 3.938 kB / 485.8 MB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.2147, allocations: 395.3 kB / 486.2 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.2147, allocations: 0 / 486.2 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.2148, allocations: 8 kB / 486.2 MB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.2148, allocations: 3.984 kB / 486.2 MB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.2148, allocations: 7.938 kB / 486.2 MB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.2149, allocations: 4 kB / 486.2 MB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2149, allocations: 3.938 kB / 486.2 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.2153, allocations: 200.2 kB / 486.4 MB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.2154, allocations: 85.02 kB / 486.5 MB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.2155, allocations: 7.938 kB / 486.5 MB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2156, allocations: 7.984 kB / 486.5 MB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.2157, allocations: 0 / 486.5 MB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2157, allocations: 4 kB / 486.5 MB, free: 2.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.2159, allocations: 152.2 kB / 486.7 MB, free: 1.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.216, allocations: 4 kB / 486.7 MB, free: 1.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004886/0.2165, allocations: 31.98 kB / 486.7 MB, free: 1.941 MB / 398.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 (8): * Single equations (assignments): 6 * 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.00195/0.2184, allocations: 466 kB / 487.2 MB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.2188, allocations: 59.97 kB / 487.2 MB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2188, allocations: 0 / 487.2 MB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.2189, allocations: 31.92 kB / 487.2 MB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.2196, allocations: 31.97 kB / 487.3 MB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00086/0.2205, allocations: 278.5 kB / 487.5 MB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.2209, allocations: 0.7082 MB / 488.3 MB, free: 480 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.221, allocations: 19.44 kB / 488.3 MB, free: 460 kB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.221, allocations: 0 / 488.3 MB, free: 460 kB / 398.1 MB Notification: Performance of Templates: time 0.006615/0.2276, allocations: 1.943 MB / 490.2 MB, free: 14.52 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches