Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 201.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, 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.0007768/0.0007769, allocations: 91.17 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.1742/0.1742, allocations: 44.83 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002744, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09372, allocations: 62.96 MB / 0.5153 GB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001724/0.09548, allocations: 1.389 MB / 0.5167 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.09673, allocations: 0.9246 MB / 0.5176 GB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.0968, allocations: 3.938 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.09706, allocations: 59.86 kB / 0.5177 GB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.09728, allocations: 83.72 kB / 0.5177 GB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.09749, allocations: 90.02 kB / 0.5178 GB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.09763, allocations: 87.69 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.09767, allocations: 8.234 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.09776, allocations: 47.77 kB / 0.518 GB, free: 40 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.09784, allocations: 39.84 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.09786, allocations: 0 / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1885/0.2864, allocations: 19.19 kB / 0.518 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.2865, allocations: 17.67 kB / 0.518 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.2865, allocations: 38.17 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2867, allocations: 80.11 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.2868, allocations: 0.5938 kB / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2868, allocations: 0 / 0.5181 GB, free: 9.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2868, allocations: 4.188 kB / 0.5181 GB, free: 9.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004604/0.2872, allocations: 392.4 kB / 0.5185 GB, free: 9.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2873, allocations: 8.312 kB / 0.5185 GB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.2873, allocations: 13.41 kB / 0.5185 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2875, allocations: 210.5 kB / 0.5187 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2876, allocations: 1.75 kB / 0.5187 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.2876, allocations: 2.844 kB / 0.5187 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2877, allocations: 54.05 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.2877, allocations: 2.344 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2877, allocations: 1.094 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2878, allocations: 0.8438 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.2878, allocations: 17.72 kB / 0.5188 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.288, allocations: 185.8 kB / 0.519 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.2882, allocations: 54.38 kB / 0.5191 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.2882, allocations: 19.38 kB / 0.5191 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2883, allocations: 1.469 kB / 0.5191 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.2884, allocations: 67.42 kB / 0.5191 GB, free: 8.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.2884, allocations: 2.938 kB / 0.5191 GB, free: 8.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000267/0.2887, allocations: 91.08 kB / 0.5192 GB, free: 8.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2887, allocations: 53.94 kB / 0.5193 GB, free: 8.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.2889, allocations: 202.1 kB / 0.5195 GB, free: 8.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.289, allocations: 28.3 kB / 0.5195 GB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.289, allocations: 101.7 kB / 0.5196 GB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.289, allocations: 15.45 kB / 0.5196 GB, free: 8.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.289, allocations: 0.6875 kB / 0.5196 GB, free: 8.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.2891, allocations: 323.5 kB / 0.5199 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.2892, allocations: 16.27 kB / 0.5199 GB, free: 8.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.2892, allocations: 29.44 kB / 0.52 GB, free: 8.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.2893, allocations: 19.42 kB / 0.52 GB, free: 8.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2893, allocations: 4.797 kB / 0.52 GB, free: 8.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001499/0.2894, allocations: 84.41 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2895, allocations: 4.375 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2895, allocations: 2.453 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2895, allocations: 3.094 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.2896, allocations: 11.11 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2896, allocations: 1.125 kB / 0.5201 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.2896, allocations: 13.27 kB / 0.5201 GB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2897, allocations: 1.75 kB / 0.5201 GB, free: 8.238 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 (7): * Single equations (assignments): 7 * 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 8.207e-05/0.2897, allocations: 125.6 kB / 0.5202 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.2898, allocations: 13.2 kB / 0.5202 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.2898, allocations: 18.81 kB / 0.5203 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2898, allocations: 1.531 kB / 0.5203 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2898, allocations: 0 / 0.5203 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2898, allocations: 1.484 kB / 0.5203 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.29, allocations: 183.6 kB / 0.5204 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.29, allocations: 7.094 kB / 0.5204 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.29, allocations: 8.453 kB / 0.5204 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.29, allocations: 0 / 0.5204 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.29, allocations: 2.859 kB / 0.5204 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.29, allocations: 0.9062 kB / 0.5204 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.29, allocations: 0.5625 kB / 0.5204 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.2902, allocations: 108.7 kB / 0.5206 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2903, allocations: 88.91 kB / 0.5206 GB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2903, allocations: 9.531 kB / 0.5206 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.2903, allocations: 7.188 kB / 0.5207 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.2904, allocations: 3.469 kB / 0.5207 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2904, allocations: 3.375 kB / 0.5207 GB, free: 7.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.2905, allocations: 145.3 kB / 0.5208 GB, free: 7.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2905, allocations: 1.125 kB / 0.5208 GB, free: 7.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.2907, allocations: 19.64 kB / 0.5208 GB, free: 7.664 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008336/0.2916, allocations: 425.5 kB / 0.5212 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2917, allocations: 41.86 kB / 0.5213 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2917, allocations: 1.531 kB / 0.5213 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.894e-05/0.2918, allocations: 17.8 kB / 0.5213 GB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2921, allocations: 31.36 kB / 0.5213 GB, free: 7.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.2925, allocations: 245.9 kB / 0.5215 GB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2926, allocations: 0.7005 MB / 0.5222 GB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.2926, allocations: 13.92 kB / 0.5222 GB, free: 6.566 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2926, allocations: 0 / 0.5222 GB, free: 6.566 MB / 346.7 MB Notification: Performance of Templates: time 0.003745/0.2964, allocations: 1.709 MB / 0.5239 GB, free: 6.402 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches