Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 201 kB / 15.8 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, 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.000779/0.000779, allocations: 100.7 kB / 295.1 MB, free: 4.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1815/0.1815, allocations: 44.83 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002381/0.0002381, allocations: 12 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09041, allocations: 62.96 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001489/0.09194, allocations: 1.388 MB / 0.5167 GB, free: 3.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.09297, allocations: 0.9247 MB / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.09305, allocations: 3.938 kB / 0.5176 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.0933, allocations: 47.8 kB / 0.5176 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.0935, allocations: 87.72 kB / 0.5177 GB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.0937, allocations: 87.77 kB / 0.5178 GB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.09381, allocations: 91.69 kB / 0.5179 GB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.09386, allocations: 8.219 kB / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.09392, allocations: 35.8 kB / 0.5179 GB, free: 2.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.09399, allocations: 39.84 kB / 0.518 GB, free: 2.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.09401, allocations: 0 / 0.518 GB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.09408, allocations: 31.98 kB / 0.518 GB, free: 2.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.09412, allocations: 23.91 kB / 0.518 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.09416, allocations: 41.64 kB / 0.5181 GB, free: 2.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.09427, allocations: 88.03 kB / 0.5182 GB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.09428, allocations: 4 kB / 0.5182 GB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.09429, allocations: 0 / 0.5182 GB, free: 2.188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.0943, allocations: 0 / 0.5182 GB, free: 2.188 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.0003993/0.0947, allocations: 422.7 kB / 0.5186 GB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.09474, allocations: 12.03 kB / 0.5186 GB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.09477, allocations: 15.8 kB / 0.5186 GB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.09494, allocations: 215.7 kB / 0.5188 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.09496, allocations: 0 / 0.5188 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.09498, allocations: 4 kB / 0.5188 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.09509, allocations: 49.67 kB / 0.5188 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.0951, allocations: 0 / 0.5188 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.09512, allocations: 3.938 kB / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.09513, allocations: 0 / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.09519, allocations: 19.98 kB / 0.5189 GB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.09533, allocations: 193.6 kB / 0.5191 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.09546, allocations: 50.62 kB / 0.5191 GB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.09551, allocations: 24.78 kB / 0.5191 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.09554, allocations: 0 / 0.5191 GB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.09568, allocations: 75.23 kB / 0.5192 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.09569, allocations: 4 kB / 0.5192 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.09592, allocations: 89.58 kB / 0.5193 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.09595, allocations: 55.41 kB / 0.5193 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.09613, allocations: 268 kB / 0.5196 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.09614, allocations: 25.7 kB / 0.5196 GB, free: 496 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.09618, allocations: 112.1 kB / 0.5197 GB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.09621, allocations: 19.81 kB / 0.5197 GB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.09622, allocations: 0 / 0.5197 GB, free: 360 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.09627, allocations: 326.8 kB / 0.5201 GB, free: 24 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.09632, allocations: 12 kB / 0.5201 GB, free: 12 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.0964, allocations: 41.62 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.09645, allocations: 16.19 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09646, allocations: 3.953 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001433/0.09661, allocations: 89.5 kB / 0.5202 GB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.09664, allocations: 7.984 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.09665, allocations: 3.938 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.09666, allocations: 0 / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.09673, allocations: 16 kB / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.09675, allocations: 0 / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.0968, allocations: 7.938 kB / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.09681, allocations: 0 / 0.5202 GB, free: 15.82 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 9.631e-05/0.09691, allocations: 137.9 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.09694, allocations: 19.75 kB / 0.5204 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.09698, allocations: 17 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.09699, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.097, allocations: 4 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.097, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.09713, allocations: 189.6 kB / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09714, allocations: 0 / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.09717, allocations: 15.94 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09718, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.09719, allocations: 0 / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.0972, allocations: 11.94 kB / 0.5206 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.09721, allocations: 3.938 kB / 0.5206 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.09737, allocations: 104.9 kB / 0.5207 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.09743, allocations: 96.91 kB / 0.5208 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.09746, allocations: 7.953 kB / 0.5208 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.0975, allocations: 3.984 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.09754, allocations: 4 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.09755, allocations: 4 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.09772, allocations: 204.6 kB / 0.521 GB, free: 14.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09772, allocations: 0 / 0.521 GB, free: 14.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.09792, allocations: 16 kB / 0.521 GB, free: 14.9 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.0008023/0.09872, allocations: 410.9 kB / 0.5214 GB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.09887, allocations: 43.91 kB / 0.5215 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.09888, allocations: 3.938 kB / 0.5215 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.09894, allocations: 20.06 kB / 0.5215 GB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.0992, allocations: 34 kB / 0.5215 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.09963, allocations: 307.3 kB / 0.5218 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.09987, allocations: 0.718 MB / 0.5225 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.0999, allocations: 15.44 kB / 0.5225 GB, free: 13.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.09991, allocations: 0 / 0.5225 GB, free: 13.44 MB / 362.7 MB Notification: Performance of Templates: time 0.003014/0.1029, allocations: 1.855 MB / 0.5244 GB, free: 11.59 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches