Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 203.1 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007673/0.0007672, allocations: 98.36 kB / 295.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1735/0.1735, allocations: 44.84 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002433, allocations: 11.98 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09399, allocations: 62.95 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001558/0.09559, allocations: 1.435 MB / 0.5167 GB, free: 3.656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.09665, allocations: 0.9363 MB / 0.5176 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.09672, allocations: 3.938 kB / 0.5176 GB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.09695, allocations: 43.83 kB / 0.5177 GB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.09714, allocations: 75.69 kB / 0.5178 GB, free: 2.594 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.09736, allocations: 94.94 kB / 0.5178 GB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09748, allocations: 91.7 kB / 0.5179 GB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.09756, allocations: 11.97 kB / 0.5179 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.09763, allocations: 35.8 kB / 0.518 GB, free: 2.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.09769, allocations: 31.84 kB / 0.518 GB, free: 2.336 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.09772, allocations: 4 kB / 0.518 GB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.09779, allocations: 43.86 kB / 0.5181 GB, free: 2.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.09783, allocations: 19.92 kB / 0.5181 GB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.09787, allocations: 37.64 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.09798, allocations: 96.08 kB / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.098, allocations: 0 / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.098, allocations: 0 / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.09801, allocations: 0 / 0.5182 GB, free: 2.133 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004004/0.09842, allocations: 402.9 kB / 0.5186 GB, free: 1.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.09846, allocations: 8.031 kB / 0.5186 GB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.0985, allocations: 15.91 kB / 0.5186 GB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.09867, allocations: 208.6 kB / 0.5188 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.09869, allocations: 8 kB / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.09871, allocations: 7.938 kB / 0.5188 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.09884, allocations: 57.61 kB / 0.5189 GB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.09886, allocations: 3.906 kB / 0.5189 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.09887, allocations: 0 / 0.5189 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.09888, allocations: 0 / 0.5189 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.09895, allocations: 19.98 kB / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.09921, allocations: 288.9 kB / 0.5192 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.09936, allocations: 58.61 kB / 0.5192 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.09942, allocations: 20.86 kB / 0.5193 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.09944, allocations: 3.984 kB / 0.5193 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.09958, allocations: 67.39 kB / 0.5193 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.09959, allocations: 0 / 0.5193 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004409/0.1, allocations: 177.1 kB / 0.5195 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.1001, allocations: 63.39 kB / 0.5196 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1002, allocations: 214.7 kB / 0.5198 GB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1002, allocations: 25.7 kB / 0.5198 GB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1003, allocations: 108.1 kB / 0.5199 GB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1003, allocations: 23.72 kB / 0.5199 GB, free: 188 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1003, allocations: 0 / 0.5199 GB, free: 188 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.1004, allocations: 326.8 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.1005, allocations: 16 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1005, allocations: 45.58 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.1006, allocations: 20 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1006, allocations: 0 / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.1008, allocations: 101.6 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1008, allocations: 4 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1008, allocations: 4 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1008, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.1009, allocations: 19.92 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1009, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.101, allocations: 4 kB / 0.5204 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.101, allocations: 7.953 kB / 0.5204 GB, free: 15.62 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 (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 9.61e-05/0.1011, allocations: 133.8 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.1011, allocations: 15.81 kB / 0.5206 GB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.1012, allocations: 13.41 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1012, allocations: 4 kB / 0.5206 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1012, allocations: 3.938 kB / 0.5206 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1012, allocations: 3.984 kB / 0.5206 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.1016, allocations: 399.7 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1016, allocations: 4.031 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1016, allocations: 15.94 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1016, allocations: 0 / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1017, allocations: 3.984 kB / 0.521 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1017, allocations: 4 kB / 0.521 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1017, allocations: 3.953 kB / 0.521 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.1019, allocations: 208.2 kB / 0.5212 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.1019, allocations: 89.02 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.102, allocations: 3.984 kB / 0.5213 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.102, allocations: 8 kB / 0.5213 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1021, allocations: 7.953 kB / 0.5213 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1021, allocations: 7.984 kB / 0.5213 GB, free: 14.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1022, allocations: 152.3 kB / 0.5215 GB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1022, allocations: 0 / 0.5215 GB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.1024, allocations: 24 kB / 0.5215 GB, free: 14.44 MB / 362.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.000916/0.1034, allocations: 467.5 kB / 0.5219 GB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1035, allocations: 51.97 kB / 0.522 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1035, allocations: 0 / 0.522 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.1036, allocations: 39.98 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1039, allocations: 22.97 kB / 0.522 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.1044, allocations: 287.8 kB / 0.5223 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.1046, allocations: 0.7082 MB / 0.523 GB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1047, allocations: 19.44 kB / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1047, allocations: 7.875 kB / 0.523 GB, free: 12.94 MB / 362.7 MB Notification: Performance of Templates: time 0.003158/0.1078, allocations: 1.95 MB / 0.5249 GB, free: 11 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches