Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 200.5 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.298/1.298, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001268, allocations: 102.6 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3693/0.3693, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 12 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3925, allocations: 62.96 MB / 0.5159 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002197/0.3947, allocations: 1.431 MB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.3972, allocations: 1.536 MB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3973, allocations: 2.719 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3977, allocations: 34 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3981, allocations: 74.58 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3985, allocations: 94.81 kB / 0.519 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.3987, allocations: 87.17 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3988, allocations: 10.64 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3989, allocations: 47.72 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3991, allocations: 34.11 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.3991, allocations: 0 / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3994, allocations: 97.22 kB / 0.5192 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.3994, allocations: 26.52 kB / 0.5193 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.3995, allocations: 55.23 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3998, allocations: 119.8 kB / 0.5194 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3998, allocations: 0 / 0.5194 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3998, allocations: 0 / 0.5194 GB, free: 34.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3998, allocations: 0 / 0.5194 GB, free: 34.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005382/0.4004, allocations: 417.4 kB / 0.5198 GB, free: 34.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4004, allocations: 11 kB / 0.5199 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.4005, allocations: 7.75 kB / 0.5199 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4007, allocations: 212.1 kB / 0.5201 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4008, allocations: 6.906 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.4008, allocations: 6.188 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.401, allocations: 68.83 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.401, allocations: 4 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.401, allocations: 0 / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.401, allocations: 0 / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.4011, allocations: 22.03 kB / 0.5202 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.4016, allocations: 285.5 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4018, allocations: 57.06 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.4018, allocations: 22.78 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4019, allocations: 3.062 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.4021, allocations: 61.44 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.4021, allocations: 6.812 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006366/0.4027, allocations: 170.1 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4028, allocations: 87.86 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.403, allocations: 171.8 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.403, allocations: 28.08 kB / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.4031, allocations: 106.4 kB / 0.5211 GB, free: 33.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.4031, allocations: 25.19 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4031, allocations: 0 / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.4032, allocations: 324.1 kB / 0.5215 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.4033, allocations: 19.03 kB / 0.5215 GB, free: 33.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.4034, allocations: 46.56 kB / 0.5215 GB, free: 32.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4035, allocations: 56.94 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4035, allocations: 3.938 kB / 0.5216 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002366/0.4038, allocations: 94 kB / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4038, allocations: 6 kB / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4038, allocations: 3.234 kB / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4038, allocations: 6.812 kB / 0.5217 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.404, allocations: 19.72 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.404, allocations: 3.938 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.4041, allocations: 10.11 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4041, allocations: 3.438 kB / 0.5217 GB, free: 32.88 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 (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 8.563e-05/0.4042, allocations: 120.6 kB / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.4042, allocations: 9.844 kB / 0.5218 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.4043, allocations: 14.83 kB / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4043, allocations: 2.812 kB / 0.5219 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4043, allocations: 7.938 kB / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4043, allocations: 0 / 0.5219 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.4048, allocations: 393 kB / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4048, allocations: 0 / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.4049, allocations: 16.78 kB / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4049, allocations: 0 / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4049, allocations: 6.312 kB / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4049, allocations: 0 / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4049, allocations: 4.031 kB / 0.5223 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.4052, allocations: 207.2 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.4052, allocations: 91.25 kB / 0.5225 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4053, allocations: 10.22 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4054, allocations: 3.031 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.4054, allocations: 6.078 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4055, allocations: 7.094 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4056, allocations: 122.3 kB / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4056, allocations: 192 / 0.5227 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004644/0.4061, allocations: 51.23 kB / 0.5227 GB, free: 31.98 MB / 378.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.001521/0.4076, allocations: 0.5395 MB / 0.5233 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4078, allocations: 64.47 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4079, allocations: 3.281 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.408, allocations: 29.69 kB / 0.5234 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.4084, allocations: 33.08 kB / 0.5234 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.4089, allocations: 241.4 kB / 0.5236 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.409, allocations: 0.6987 MB / 0.5243 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.4091, allocations: 19.47 kB / 0.5243 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4091, allocations: 0 / 0.5243 GB, free: 30.76 MB / 378.7 MB Notification: Performance of Templates: time 0.004764/0.4139, allocations: 2.399 MB / 0.5267 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches