Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009564/0.0009561, allocations: 194.8 kB / 15.8 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00071/0.00071, allocations: 97.09 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 44.84 MB / 392 MB, free: 9.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 11.98 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09336/0.09362, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00221/0.09587, allocations: 1.42 MB / 0.5167 GB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.09729, allocations: 0.9441 MB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.09742, allocations: 7.938 kB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.09773, allocations: 31.89 kB / 0.5177 GB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.09806, allocations: 71.69 kB / 0.5178 GB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.0984, allocations: 94.08 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.09859, allocations: 95.69 kB / 0.5179 GB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.09868, allocations: 11.98 kB / 0.5179 GB, free: 64 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.09878, allocations: 39.8 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1811/0.2799, allocations: 24.66 kB / 0.518 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.28, allocations: 2.094 kB / 0.518 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2802, allocations: 35.75 kB / 0.518 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.2802, allocations: 17.36 kB / 0.5181 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.2803, allocations: 39.09 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.2805, allocations: 89.33 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2805, allocations: 1.719 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2805, allocations: 0 / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2805, allocations: 1.688 kB / 0.5182 GB, free: 9.828 MB / 346.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.0004655/0.281, allocations: 400.4 kB / 0.5186 GB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2811, allocations: 9.781 kB / 0.5186 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.2811, allocations: 15.5 kB / 0.5186 GB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.2813, allocations: 207.1 kB / 0.5188 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2813, allocations: 3.062 kB / 0.5188 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2813, allocations: 3.797 kB / 0.5188 GB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2815, allocations: 54.05 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2815, allocations: 0 / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2815, allocations: 3.094 kB / 0.5189 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2815, allocations: 1.031 kB / 0.5189 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.2816, allocations: 22.72 kB / 0.5189 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2819, allocations: 290.9 kB / 0.5192 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2821, allocations: 64.8 kB / 0.5192 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.2822, allocations: 20.61 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2822, allocations: 2.25 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.2823, allocations: 68.17 kB / 0.5193 GB, free: 8.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2824, allocations: 0 / 0.5193 GB, free: 8.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005242/0.2829, allocations: 175.9 kB / 0.5195 GB, free: 8.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.2829, allocations: 52.81 kB / 0.5195 GB, free: 8.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.2831, allocations: 201.2 kB / 0.5197 GB, free: 8.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2831, allocations: 28.2 kB / 0.5197 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.2832, allocations: 102.1 kB / 0.5198 GB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2832, allocations: 30.64 kB / 0.5199 GB, free: 8.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/0.2832, allocations: 1.625 kB / 0.5199 GB, free: 8.504 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.2833, allocations: 325.8 kB / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.059e-05/0.2834, allocations: 25.41 kB / 0.5202 GB, free: 8.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.2834, allocations: 36.16 kB / 0.5202 GB, free: 8.172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.2835, allocations: 23.56 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2835, allocations: 3.469 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.2837, allocations: 102 kB / 0.5204 GB, free: 8.133 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2837, allocations: 5.969 kB / 0.5204 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2837, allocations: 5.031 kB / 0.5204 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2837, allocations: 4.75 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.2838, allocations: 16.83 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2838, allocations: 1.062 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.2839, allocations: 5.344 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2839, allocations: 7.719 kB / 0.5204 GB, free: 8.121 MB / 346.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/0.284, allocations: 130.5 kB / 0.5205 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.284, allocations: 10.55 kB / 0.5205 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.2841, allocations: 15.69 kB / 0.5206 GB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2841, allocations: 5.656 kB / 0.5206 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2841, allocations: 0 / 0.5206 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2841, allocations: 1.359 kB / 0.5206 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.2844, allocations: 396.3 kB / 0.5209 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2845, allocations: 1.859 kB / 0.5209 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.2845, allocations: 11.81 kB / 0.521 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2845, allocations: 1.703 kB / 0.521 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2845, allocations: 1.812 kB / 0.521 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2845, allocations: 5.875 kB / 0.521 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2845, allocations: 5.078 kB / 0.521 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.2847, allocations: 205 kB / 0.5212 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.2848, allocations: 86.98 kB / 0.5212 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2848, allocations: 6.547 kB / 0.5212 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.2849, allocations: 3.219 kB / 0.5213 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.2849, allocations: 13.56 kB / 0.5213 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2849, allocations: 4.016 kB / 0.5213 GB, free: 7.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.285, allocations: 148 kB / 0.5214 GB, free: 7.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.285, allocations: 0 / 0.5214 GB, free: 7.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.2853, allocations: 25.77 kB / 0.5214 GB, free: 7.359 MB / 346.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008673/0.2861, allocations: 461.8 kB / 0.5219 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.2863, allocations: 56.84 kB / 0.5219 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2863, allocations: 1.344 kB / 0.5219 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.2864, allocations: 29.02 kB / 0.522 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2867, allocations: 28 kB / 0.522 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.2872, allocations: 279.2 kB / 0.5223 GB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2873, allocations: 0.7069 MB / 0.5229 GB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.2873, allocations: 20.44 kB / 0.523 GB, free: 6.234 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2873, allocations: 0 / 0.523 GB, free: 6.234 MB / 346.7 MB Notification: Performance of Templates: time 0.003587/0.2909, allocations: 1.936 MB / 0.5249 GB, free: 6.039 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches