Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 195.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008174, allocations: 99.67 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.3996/0.3996, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 12 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3366, allocations: 62.96 MB / 0.5159 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001713/0.3384, allocations: 1.426 MB / 0.5173 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3395, allocations: 0.9506 MB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.3396, allocations: 0 / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.3399, allocations: 33.91 kB / 0.5182 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.3401, allocations: 75.09 kB / 0.5183 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.3404, allocations: 94.86 kB / 0.5184 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3405, allocations: 94.05 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3406, allocations: 14.47 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.3407, allocations: 39.84 kB / 0.5185 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.3408, allocations: 27.84 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3408, allocations: 2.812 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.3409, allocations: 36.81 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.341, allocations: 17.16 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.341, allocations: 61.48 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3412, allocations: 87.55 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3412, allocations: 0 / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3412, allocations: 3.938 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3412, allocations: 4 kB / 0.5188 GB, free: 35.11 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.0004267/0.3416, allocations: 396.5 kB / 0.5191 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3417, allocations: 8.5 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.3417, allocations: 10.62 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3419, allocations: 208.7 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3419, allocations: 3.25 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3419, allocations: 7 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3421, allocations: 59.14 kB / 0.5194 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3421, allocations: 4 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3421, allocations: 3.938 kB / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3421, allocations: 0 / 0.5194 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.3422, allocations: 19.98 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.3425, allocations: 282 kB / 0.5197 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3426, allocations: 64.33 kB / 0.5198 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3427, allocations: 24.89 kB / 0.5198 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3427, allocations: 0 / 0.5198 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3429, allocations: 71.75 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3429, allocations: 0 / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004653/0.3433, allocations: 177.2 kB / 0.52 GB, free: 33.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3434, allocations: 55.41 kB / 0.5201 GB, free: 33.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3435, allocations: 181.5 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.3435, allocations: 25.7 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3436, allocations: 105.3 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3436, allocations: 25.95 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.3436, allocations: 0 / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.3437, allocations: 325.2 kB / 0.5207 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.3437, allocations: 22.38 kB / 0.5208 GB, free: 33.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.3438, allocations: 43.05 kB / 0.5208 GB, free: 33.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.238e-05/0.3439, allocations: 53.53 kB / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3439, allocations: 0 / 0.5208 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001473/0.3441, allocations: 109.8 kB / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3441, allocations: 5.812 kB / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3441, allocations: 0 / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3441, allocations: 2.875 kB / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.3442, allocations: 15.66 kB / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3442, allocations: 3.094 kB / 0.521 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.3443, allocations: 7.312 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3443, allocations: 10.59 kB / 0.521 GB, free: 33.12 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 7.1e-05/0.3443, allocations: 121.8 kB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.3444, allocations: 15.38 kB / 0.5211 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3444, allocations: 11.75 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3444, allocations: 2.75 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3444, allocations: 4 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3444, allocations: 3.938 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3448, allocations: 388.6 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3448, allocations: 3.938 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.3448, allocations: 8.844 kB / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3448, allocations: 0 / 0.5215 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3449, allocations: 13.38 kB / 0.5215 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3449, allocations: 0 / 0.5215 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3449, allocations: 2.812 kB / 0.5215 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.345, allocations: 210.1 kB / 0.5217 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.3451, allocations: 91.39 kB / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.3451, allocations: 4.312 kB / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.3452, allocations: 6.234 kB / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.3452, allocations: 3.031 kB / 0.5218 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3453, allocations: 17.78 kB / 0.5219 GB, free: 32.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.3453, allocations: 139.2 kB / 0.522 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 0 / 0.522 GB, free: 32.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.3456, allocations: 25.53 kB / 0.522 GB, free: 32.23 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.0009158/0.3465, allocations: 463.3 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.3467, allocations: 61.19 kB / 0.5225 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3467, allocations: 0 / 0.5225 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.3467, allocations: 28.39 kB / 0.5225 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3471, allocations: 25.58 kB / 0.5226 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.3475, allocations: 260.7 kB / 0.5228 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3476, allocations: 0.7015 MB / 0.5235 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.3476, allocations: 22.66 kB / 0.5235 GB, free: 31.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3476, allocations: 0 / 0.5235 GB, free: 31.05 MB / 378.7 MB Notification: Performance of Templates: time 0.002969/0.3506, allocations: 1.908 MB / 0.5254 GB, free: 30.84 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches