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.001564/0.001564, allocations: 199.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.314/1.314, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007077/0.0007078, allocations: 94.3 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.3018/0.3018, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003061, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 62.97 MB / 0.5159 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001461/0.3397, allocations: 1.386 MB / 0.5172 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3407, allocations: 0.937 MB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3408, allocations: 2.906 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.341, allocations: 52.41 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3413, allocations: 83.55 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3415, allocations: 91.38 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3416, allocations: 89.91 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3417, allocations: 9.547 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.3417, allocations: 40 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.3418, allocations: 38.25 kB / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3418, allocations: 0 / 0.5185 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.3419, allocations: 26.44 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.3419, allocations: 22.48 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.342, allocations: 61.86 kB / 0.5187 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3421, allocations: 101.1 kB / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3421, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3421, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3421, allocations: 3.938 kB / 0.5188 GB, free: 35.45 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.000432/0.3426, allocations: 416.2 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3426, allocations: 8.656 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3427, allocations: 10.66 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3428, allocations: 225.9 kB / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3429, allocations: 384 / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3429, allocations: 7.094 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.343, allocations: 52.66 kB / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.343, allocations: 0 / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.343, allocations: 2.875 kB / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.343, allocations: 0 / 0.5194 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.3431, allocations: 19.28 kB / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.3433, allocations: 195.6 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3434, allocations: 47.39 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.3434, allocations: 25.86 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3435, allocations: 2.938 kB / 0.5197 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.3436, allocations: 68.83 kB / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.3436, allocations: 0 / 0.5198 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002341/0.3439, allocations: 99.25 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.3439, allocations: 54.03 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3441, allocations: 273.9 kB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3441, allocations: 25.7 kB / 0.5202 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.3441, allocations: 112.7 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.3442, allocations: 15.33 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.3442, allocations: 2.875 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.3442, allocations: 324.9 kB / 0.5207 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.3443, allocations: 15.95 kB / 0.5207 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.311e-05/0.3443, allocations: 30.06 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.3444, allocations: 38.94 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3444, allocations: 4 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001262/0.3446, allocations: 90.98 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3446, allocations: 5.156 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3446, allocations: 2.875 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3446, allocations: 320 / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.3447, allocations: 11.59 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3447, allocations: 0 / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.3447, allocations: 17.38 kB / 0.5209 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3447, allocations: 0 / 0.5209 GB, free: 33.57 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 7.171e-05/0.3448, allocations: 147.9 kB / 0.521 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.3448, allocations: 13.66 kB / 0.521 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.3449, allocations: 22.11 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3449, allocations: 2.812 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3449, allocations: 3.938 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3449, allocations: 0 / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.345, allocations: 201.5 kB / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.345, allocations: 0 / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.345, allocations: 2.656 kB / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.345, allocations: 0 / 0.5212 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.345, allocations: 14.03 kB / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3451, allocations: 0 / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3451, allocations: 0 / 0.5213 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.3452, allocations: 114.1 kB / 0.5214 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.3452, allocations: 91.34 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3453, allocations: 0 / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.3453, allocations: 6.938 kB / 0.5215 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.3453, allocations: 10.2 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3454, allocations: 2.938 kB / 0.5215 GB, free: 33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.3455, allocations: 195.7 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3455, allocations: 2.969 kB / 0.5217 GB, free: 32.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.3457, allocations: 22.58 kB / 0.5217 GB, free: 32.89 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.0007217/0.3464, allocations: 398.5 kB / 0.5221 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3466, allocations: 45.25 kB / 0.5221 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3466, allocations: 4.062 kB / 0.5221 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.3466, allocations: 21.73 kB / 0.5221 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3469, allocations: 33.95 kB / 0.5222 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.3472, allocations: 310.2 kB / 0.5225 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3474, allocations: 0.7168 MB / 0.5232 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3474, allocations: 15.53 kB / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3474, allocations: 0 / 0.5232 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Templates: time 0.002592/0.35, allocations: 1.871 MB / 0.525 GB, free: 31.5 MB / 378.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