Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 201.9 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.6 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006977/0.0006977, allocations: 102.2 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.000231, allocations: 12 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1005, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001539/0.1021, allocations: 1.392 MB / 0.5167 GB, free: 3.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1032, allocations: 0.9207 MB / 0.5176 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.1033, allocations: 3.938 kB / 0.5176 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.1036, allocations: 51.86 kB / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1038, allocations: 79.73 kB / 0.5177 GB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.104, allocations: 91 kB / 0.5178 GB, free: 2.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1041, allocations: 87.7 kB / 0.5179 GB, free: 2.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.1042, allocations: 8.234 kB / 0.5179 GB, free: 2.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1042, allocations: 39.78 kB / 0.5179 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.1043, allocations: 35.84 kB / 0.518 GB, free: 2.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1043, allocations: 0 / 0.518 GB, free: 2.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1044, allocations: 31.98 kB / 0.518 GB, free: 2.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.975e-05/0.1045, allocations: 23.92 kB / 0.518 GB, free: 2.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1045, allocations: 45.56 kB / 0.5181 GB, free: 2.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1046, allocations: 92.03 kB / 0.5182 GB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1047, allocations: 8 kB / 0.5182 GB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1047, allocations: 0 / 0.5182 GB, free: 2.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1047, allocations: 0 / 0.5182 GB, free: 2.191 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.0004178/0.1051, allocations: 414.7 kB / 0.5186 GB, free: 1.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.1051, allocations: 12.03 kB / 0.5186 GB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1052, allocations: 11.81 kB / 0.5186 GB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1054, allocations: 215.7 kB / 0.5188 GB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1054, allocations: 4 kB / 0.5188 GB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1054, allocations: 7.984 kB / 0.5188 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1055, allocations: 49.67 kB / 0.5188 GB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1055, allocations: 3.938 kB / 0.5189 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.1056, allocations: 0 / 0.5189 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1056, allocations: 0 / 0.5189 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/0.1056, allocations: 15.98 kB / 0.5189 GB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.1058, allocations: 197.6 kB / 0.5191 GB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1059, allocations: 50.62 kB / 0.5191 GB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.106, allocations: 24.78 kB / 0.5191 GB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.106, allocations: 0 / 0.5191 GB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.1061, allocations: 71.23 kB / 0.5192 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1061, allocations: 4 kB / 0.5192 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.1064, allocations: 89.58 kB / 0.5193 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.1064, allocations: 59.41 kB / 0.5193 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1066, allocations: 268 kB / 0.5196 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1066, allocations: 25.7 kB / 0.5196 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.1067, allocations: 112.1 kB / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1067, allocations: 15.81 kB / 0.5197 GB, free: 372 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.1067, allocations: 0 / 0.5197 GB, free: 372 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.1068, allocations: 326.8 kB / 0.5201 GB, free: 36 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.502e-05/0.1068, allocations: 19.92 kB / 0.5201 GB, free: 16 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.1069, allocations: 33.77 kB / 0.5201 GB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.107, allocations: 15.94 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.107, allocations: 3.953 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001443/0.1071, allocations: 81.5 kB / 0.5202 GB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1071, allocations: 7.938 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1071, allocations: 0 / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1072, allocations: 0 / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.1072, allocations: 15.98 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1073, allocations: 4.031 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.1073, allocations: 3.938 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1073, allocations: 4 kB / 0.5202 GB, free: 15.84 MB / 362.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 0.000116/0.1074, allocations: 140.6 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1075, allocations: 16.08 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1075, allocations: 20.98 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1075, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1075, allocations: 8 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1075, allocations: 0 / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1077, allocations: 201.6 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1077, allocations: 0 / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.1077, allocations: 11.94 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1077, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1077, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1078, allocations: 7.938 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1078, allocations: 3.938 kB / 0.5206 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1079, allocations: 108.9 kB / 0.5207 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.003e-05/0.108, allocations: 92.92 kB / 0.5208 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.108, allocations: 7.953 kB / 0.5208 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.1081, allocations: 3.984 kB / 0.5208 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1081, allocations: 8 kB / 0.5208 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1081, allocations: 3.984 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001557/0.1083, allocations: 200.6 kB / 0.521 GB, free: 14.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1083, allocations: 0 / 0.521 GB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.1085, allocations: 20 kB / 0.5211 GB, free: 14.91 MB / 362.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.0008296/0.1093, allocations: 404.2 kB / 0.5214 GB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1095, allocations: 43.91 kB / 0.5215 GB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1095, allocations: 0 / 0.5215 GB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.1095, allocations: 20 kB / 0.5215 GB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.1098, allocations: 31.7 kB / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.1103, allocations: 311.4 kB / 0.5218 GB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1106, allocations: 0.7082 MB / 0.5225 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1106, allocations: 27.42 kB / 0.5225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1106, allocations: 0 / 0.5225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003276/0.1139, allocations: 1.86 MB / 0.5244 GB, free: 11.6 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches