Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008406/0.0008403, allocations: 101.8 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3566/0.3566, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 12 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2768, allocations: 62.96 MB / 0.5159 GB, free: 37.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001764/0.2786, allocations: 1.389 MB / 0.5172 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.2799, allocations: 0.9317 MB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.2801, allocations: 0 / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.2804, allocations: 56.84 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.2807, allocations: 88.44 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.281, allocations: 87.94 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.2812, allocations: 89.12 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.2812, allocations: 6.844 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.151e-05/0.2813, allocations: 40.34 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2814, allocations: 36.47 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2814, allocations: 3 kB / 0.5185 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.2815, allocations: 31.89 kB / 0.5186 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.2816, allocations: 22.84 kB / 0.5186 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.2817, allocations: 68.16 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.2818, allocations: 92.52 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2818, allocations: 2.844 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2818, allocations: 0 / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.2818, allocations: 0 / 0.5187 GB, free: 35.4 MB / 378.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.0005544/0.2824, allocations: 408.7 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2825, allocations: 8.594 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.2825, allocations: 17.28 kB / 0.5192 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.2827, allocations: 224.7 kB / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2827, allocations: 384 / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2828, allocations: 7.031 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2829, allocations: 53.25 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2829, allocations: 0 / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2829, allocations: 4 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2829, allocations: 0 / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.283, allocations: 11.73 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2832, allocations: 202.3 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2834, allocations: 53.55 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.2834, allocations: 21.61 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2834, allocations: 3.938 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.2836, allocations: 69.41 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.2836, allocations: 0 / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002371/0.2838, allocations: 101 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2839, allocations: 54.88 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.2841, allocations: 269.3 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.2841, allocations: 33.64 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.2842, allocations: 110.7 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.2842, allocations: 6.375 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.2842, allocations: 4 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.2843, allocations: 330.1 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.2843, allocations: 12.28 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.2844, allocations: 29.11 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.2845, allocations: 39.94 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2845, allocations: 0 / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.2846, allocations: 98.59 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2846, allocations: 5.469 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2846, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2847, allocations: 2.625 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.2847, allocations: 15.05 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2847, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.2848, allocations: 10.53 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2848, allocations: 2.656 kB / 0.5209 GB, free: 33.52 MB / 378.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.051e-05/0.2849, allocations: 141 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.2849, allocations: 17.81 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.285, allocations: 20.94 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.285, allocations: 0 / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.285, allocations: 0 / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.285, allocations: 0 / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.2851, allocations: 210.1 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2851, allocations: 0 / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.2851, allocations: 2.969 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2851, allocations: 0 / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2851, allocations: 6.109 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2851, allocations: 0 / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2852, allocations: 4.312 kB / 0.5212 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2853, allocations: 120.5 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2853, allocations: 87.83 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2854, allocations: 3.781 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.2854, allocations: 3.938 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.2854, allocations: 6.391 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2855, allocations: 7.094 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2856, allocations: 202.3 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2856, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.2858, allocations: 19.16 kB / 0.5217 GB, free: 32.84 MB / 378.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.0007809/0.2866, allocations: 398.8 kB / 0.5221 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2867, allocations: 46.2 kB / 0.5221 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2867, allocations: 0 / 0.5221 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.2868, allocations: 15.78 kB / 0.5221 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2871, allocations: 48.02 kB / 0.5222 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.2875, allocations: 319.5 kB / 0.5225 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2877, allocations: 0.709 MB / 0.5232 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.2877, allocations: 20.41 kB / 0.5232 GB, free: 31.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2877, allocations: 0 / 0.5232 GB, free: 31.66 MB / 378.7 MB Notification: Performance of Templates: time 0.003086/0.2908, allocations: 1.854 MB / 0.525 GB, free: 31.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches