Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201.5 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.276/1.276, 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.0007846/0.0007844, allocations: 96.25 kB / 295.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002332, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08545, allocations: 62.96 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00158/0.08707, allocations: 1.595 MB / 0.5169 GB, free: 3.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.08825, allocations: 1.057 MB / 0.5179 GB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.08834, allocations: 7.938 kB / 0.5179 GB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.08862, allocations: 147.6 kB / 0.5181 GB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.08889, allocations: 155.5 kB / 0.5182 GB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.0892, allocations: 155.2 kB / 0.5184 GB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.08938, allocations: 215.3 kB / 0.5186 GB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.08947, allocations: 17.67 kB / 0.5186 GB, free: 1.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.08958, allocations: 103.5 kB / 0.5187 GB, free: 1.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.08969, allocations: 111.5 kB / 0.5188 GB, free: 1.547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.08971, allocations: 11.98 kB / 0.5188 GB, free: 1.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.08981, allocations: 47.98 kB / 0.5189 GB, free: 1.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.08986, allocations: 47.83 kB / 0.5189 GB, free: 1.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.0899, allocations: 53.58 kB / 0.519 GB, free: 1.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.09006, allocations: 167.9 kB / 0.5191 GB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09007, allocations: 0 / 0.5191 GB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.09007, allocations: 0 / 0.5191 GB, free: 1.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.09008, allocations: 0 / 0.5191 GB, free: 1.219 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004921/0.09058, allocations: 0.5099 MB / 0.5196 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.09061, allocations: 8.031 kB / 0.5196 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.09066, allocations: 23.72 kB / 0.5196 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.09089, allocations: 270.3 kB / 0.5199 GB, free: 332 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.09091, allocations: 4 kB / 0.5199 GB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.09094, allocations: 8 kB / 0.5199 GB, free: 320 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.09113, allocations: 109.7 kB / 0.52 GB, free: 200 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.09115, allocations: 0 / 0.52 GB, free: 200 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.09117, allocations: 8 kB / 0.52 GB, free: 192 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.09118, allocations: 4 kB / 0.52 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.0913, allocations: 51.88 kB / 0.5201 GB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.09178, allocations: 460.8 kB / 0.5205 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.09212, allocations: 129.2 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.09222, allocations: 45.81 kB / 0.5207 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.09225, allocations: 0 / 0.5207 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.09248, allocations: 135.1 kB / 0.5208 GB, free: 15.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.09249, allocations: 0 / 0.5208 GB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001152/0.09365, allocations: 492.8 kB / 0.5213 GB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.0937, allocations: 81.09 kB / 0.5214 GB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.09403, allocations: 367.3 kB / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.09406, allocations: 37.7 kB / 0.5217 GB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.09415, allocations: 144.5 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.09421, allocations: 67 kB / 0.5219 GB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.09423, allocations: 8 kB / 0.522 GB, free: 14.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.09434, allocations: 338.8 kB / 0.5223 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.09446, allocations: 59.91 kB / 0.5223 GB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.0946, allocations: 98.62 kB / 0.5224 GB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.09473, allocations: 72.08 kB / 0.5225 GB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.09474, allocations: 0 / 0.5225 GB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003447/0.09509, allocations: 225.2 kB / 0.5227 GB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.09511, allocations: 7.953 kB / 0.5227 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09512, allocations: 0 / 0.5227 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.09514, allocations: 4 kB / 0.5227 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.0953, allocations: 55.97 kB / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.09532, allocations: 4 kB / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.0954, allocations: 11.94 kB / 0.5228 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.09542, allocations: 8 kB / 0.5228 GB, free: 13.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001307/0.09556, allocations: 162.3 kB / 0.523 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.0956, allocations: 27.72 kB / 0.523 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.09568, allocations: 37.78 kB / 0.523 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.09569, allocations: 4 kB / 0.523 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.0957, allocations: 4 kB / 0.523 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.09571, allocations: 0 / 0.523 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.09648, allocations: 0.7234 MB / 0.5237 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.09649, allocations: 4.031 kB / 0.5237 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.09658, allocations: 31.98 kB / 0.5238 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.09659, allocations: 4 kB / 0.5238 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.09661, allocations: 4 kB / 0.5238 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.09662, allocations: 3.938 kB / 0.5238 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.09662, allocations: 4 kB / 0.5238 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.09702, allocations: 427.3 kB / 0.5242 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.0971, allocations: 108.7 kB / 0.5243 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.09714, allocations: 8.188 kB / 0.5243 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.09728, allocations: 11.98 kB / 0.5243 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.09734, allocations: 23.92 kB / 0.5243 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.09736, allocations: 12 kB / 0.5243 GB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.0976, allocations: 281.9 kB / 0.5246 GB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09761, allocations: 0 / 0.5246 GB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003039/0.09792, allocations: 48 kB / 0.5247 GB, free: 11.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009848/0.09891, allocations: 0.5027 MB / 0.5251 GB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.09925, allocations: 155.8 kB / 0.5253 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09926, allocations: 0 / 0.5253 GB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.09941, allocations: 83.84 kB / 0.5254 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.09993, allocations: 50.41 kB / 0.5254 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.1007, allocations: 0.5797 MB / 0.526 GB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.101, allocations: 0.7638 MB / 0.5267 GB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.1011, allocations: 35.42 kB / 0.5268 GB, free: 9.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1011, allocations: 0 / 0.5268 GB, free: 9.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004987/0.1061, allocations: 3.557 MB / 0.5302 GB, free: 5.543 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches