Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009616, allocations: 204 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007425/0.0007424, allocations: 99.75 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1767/0.1767, allocations: 44.84 MB / 392 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 12 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09721/0.09745, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001804/0.0993, allocations: 1.427 MB / 0.5167 GB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1006, allocations: 0.9402 MB / 0.5176 GB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.1007, allocations: 7.875 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.1009, allocations: 47.88 kB / 0.5177 GB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1012, allocations: 79.72 kB / 0.5178 GB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1014, allocations: 98.27 kB / 0.5179 GB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.1015, allocations: 87.7 kB / 0.5179 GB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.1016, allocations: 11.98 kB / 0.518 GB, free: 48 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.1017, allocations: 39.78 kB / 0.518 GB, free: 8 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1853/0.2871, allocations: 26.5 kB / 0.518 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.2871, allocations: 5.531 kB / 0.518 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.2873, allocations: 36.56 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.2874, allocations: 20.91 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.2874, allocations: 42.78 kB / 0.5181 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2876, allocations: 95.94 kB / 0.5182 GB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2876, allocations: 0 / 0.5182 GB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2876, allocations: 0.7812 kB / 0.5182 GB, free: 9.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.2876, allocations: 0 / 0.5182 GB, free: 9.793 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.0004731/0.2881, allocations: 417.4 kB / 0.5186 GB, free: 9.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2882, allocations: 9.312 kB / 0.5186 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.2882, allocations: 14.83 kB / 0.5186 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2884, allocations: 213.1 kB / 0.5188 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2884, allocations: 1.469 kB / 0.5188 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2884, allocations: 4.641 kB / 0.5188 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.2886, allocations: 55.59 kB / 0.5189 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2886, allocations: 0 / 0.5189 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2886, allocations: 3.484 kB / 0.5189 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2886, allocations: 0.6875 kB / 0.5189 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.2887, allocations: 22.55 kB / 0.5189 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.2891, allocations: 294.9 kB / 0.5192 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.2892, allocations: 59.88 kB / 0.5193 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.2893, allocations: 24.47 kB / 0.5193 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.2893, allocations: 0.6562 kB / 0.5193 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.2895, allocations: 73.17 kB / 0.5194 GB, free: 8.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2895, allocations: 0 / 0.5194 GB, free: 8.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005018/0.29, allocations: 179.9 kB / 0.5195 GB, free: 8.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.29, allocations: 54 kB / 0.5196 GB, free: 8.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.2902, allocations: 235.2 kB / 0.5198 GB, free: 8.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2903, allocations: 28.08 kB / 0.5198 GB, free: 8.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.2903, allocations: 114 kB / 0.5199 GB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2903, allocations: 23.48 kB / 0.52 GB, free: 8.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2904, allocations: 1.125 kB / 0.52 GB, free: 8.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2904, allocations: 326.3 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.2905, allocations: 22.33 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.2905, allocations: 37.91 kB / 0.5203 GB, free: 8.125 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.2906, allocations: 22.47 kB / 0.5204 GB, free: 8.125 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2906, allocations: 8.344 kB / 0.5204 GB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.2908, allocations: 105.8 kB / 0.5205 GB, free: 8.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2908, allocations: 5.656 kB / 0.5205 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/0.2908, allocations: 3.938 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2908, allocations: 1.891 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.2909, allocations: 15.55 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2909, allocations: 1.438 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.291, allocations: 5.422 kB / 0.5205 GB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.291, allocations: 7.266 kB / 0.5205 GB, free: 8.074 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.869e-05/0.2911, allocations: 137.6 kB / 0.5206 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.2911, allocations: 10.44 kB / 0.5206 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.2912, allocations: 19.28 kB / 0.5207 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2912, allocations: 3.25 kB / 0.5207 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2912, allocations: 0 / 0.5207 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2912, allocations: 0 / 0.5207 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.2915, allocations: 406.9 kB / 0.5211 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2916, allocations: 8.891 kB / 0.5211 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.2916, allocations: 7.984 kB / 0.5211 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2916, allocations: 1.344 kB / 0.5211 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2916, allocations: 2.625 kB / 0.5211 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2916, allocations: 1.188 kB / 0.5211 GB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.2916, allocations: 8.688 kB / 0.5211 GB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.2918, allocations: 207.1 kB / 0.5213 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.2919, allocations: 86.95 kB / 0.5214 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2919, allocations: 6.281 kB / 0.5214 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.292, allocations: 3.219 kB / 0.5214 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.292, allocations: 10.19 kB / 0.5214 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.292, allocations: 3.906 kB / 0.5214 GB, free: 7.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.2922, allocations: 180.2 kB / 0.5216 GB, free: 7.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2922, allocations: 0 / 0.5216 GB, free: 7.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.2924, allocations: 26.66 kB / 0.5216 GB, free: 7.301 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.0009098/0.2933, allocations: 464.7 kB / 0.522 GB, free: 7.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2935, allocations: 62.34 kB / 0.5221 GB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2935, allocations: 4.062 kB / 0.5221 GB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.2936, allocations: 34.42 kB / 0.5221 GB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2939, allocations: 21.62 kB / 0.5221 GB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2944, allocations: 306.4 kB / 0.5224 GB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.2945, allocations: 0.7125 MB / 0.5231 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.2946, allocations: 16.31 kB / 0.5231 GB, free: 6.168 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2946, allocations: 0 / 0.5231 GB, free: 6.168 MB / 346.7 MB Notification: Performance of Templates: time 0.003893/0.2985, allocations: 2.019 MB / 0.5251 GB, free: 5.953 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches