Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003024/0.003025, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 101.6 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4108/0.4108, allocations: 44.82 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 63.91 kB / 465.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3878, allocations: 62.02 MB / 0.5152 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002854/0.3907, allocations: 1.993 MB / 0.5171 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3922, allocations: 1.15 MB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.3923, allocations: 0 / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.3927, allocations: 253.4 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.393, allocations: 201.7 kB / 0.5187 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3934, allocations: 168.4 kB / 0.5188 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.3936, allocations: 258.4 kB / 0.5191 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3937, allocations: 26.66 kB / 0.5191 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3939, allocations: 124.3 kB / 0.5192 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.394, allocations: 188.3 kB / 0.5194 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3941, allocations: 5.906 kB / 0.5194 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3942, allocations: 55.83 kB / 0.5195 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.3943, allocations: 66.95 kB / 0.5195 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.3943, allocations: 99.28 kB / 0.5196 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3946, allocations: 245.2 kB / 0.5198 GB, free: 35.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3946, allocations: 4 kB / 0.5198 GB, free: 35.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3946, allocations: 2.906 kB / 0.5199 GB, free: 35.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3946, allocations: 0 / 0.5199 GB, free: 35.06 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006241/0.3952, allocations: 0.5816 MB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3953, allocations: 8.688 kB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.3953, allocations: 30.97 kB / 0.5205 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3956, allocations: 293.2 kB / 0.5207 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3956, allocations: 3.156 kB / 0.5207 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3956, allocations: 13.97 kB / 0.5208 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3958, allocations: 114.8 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3959, allocations: 7.125 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3959, allocations: 3.375 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3959, allocations: 2.938 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.396, allocations: 41.89 kB / 0.5209 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.3965, allocations: 488 kB / 0.5214 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.3968, allocations: 121 kB / 0.5215 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.3969, allocations: 48.16 kB / 0.5215 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3969, allocations: 6.688 kB / 0.5215 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.3972, allocations: 120.9 kB / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3972, allocations: 0 / 0.5217 GB, free: 33.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0011/0.3983, allocations: 0.4976 MB / 0.5222 GB, free: 33.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3983, allocations: 87.92 kB / 0.5222 GB, free: 33.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.3987, allocations: 0.4902 MB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3988, allocations: 32.3 kB / 0.5227 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.3988, allocations: 162.4 kB / 0.5229 GB, free: 32.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.3989, allocations: 72.17 kB / 0.523 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.399, allocations: 43.98 kB / 0.523 GB, free: 32.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.3991, allocations: 350.1 kB / 0.5233 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3992, allocations: 59.62 kB / 0.5234 GB, free: 32.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3993, allocations: 94.17 kB / 0.5235 GB, free: 32.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3995, allocations: 162 kB / 0.5236 GB, free: 32.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3995, allocations: 2.781 kB / 0.5236 GB, free: 32.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003163/0.3999, allocations: 236.3 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3999, allocations: 9.906 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3999, allocations: 80 / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3999, allocations: 6.844 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4001, allocations: 44.53 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4001, allocations: 6.797 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.4001, allocations: 6.312 kB / 0.5239 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4002, allocations: 11.44 kB / 0.524 GB, free: 32.12 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4003, allocations: 180.1 kB / 0.5241 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.4003, allocations: 39.41 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.4004, allocations: 42.83 kB / 0.5242 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4004, allocations: 2.312 kB / 0.5242 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4004, allocations: 2.438 kB / 0.5242 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.4004, allocations: 3.984 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.4011, allocations: 0.7477 MB / 0.5249 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4012, allocations: 0 / 0.5249 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.4012, allocations: 31.11 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.4012, allocations: 2.75 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.4013, allocations: 8.969 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4013, allocations: 3.438 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4013, allocations: 3.453 kB / 0.525 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.402, allocations: 1.078 MB / 0.526 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.402, allocations: 109.1 kB / 0.5261 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.4021, allocations: 12.91 kB / 0.5262 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4022, allocations: 14.75 kB / 0.5262 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.4023, allocations: 15.5 kB / 0.5262 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.4023, allocations: 16.47 kB / 0.5262 GB, free: 30.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.4026, allocations: 377.4 kB / 0.5266 GB, free: 30.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4026, allocations: 4 kB / 0.5266 GB, free: 30.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.4031, allocations: 50.56 kB / 0.5266 GB, free: 30.12 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.4044, allocations: 0.4978 MB / 0.5271 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.4047, allocations: 160 kB / 0.5273 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4048, allocations: 0 / 0.5273 GB, free: 29.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.4049, allocations: 86.56 kB / 0.5273 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.4055, allocations: 64.14 kB / 0.5274 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.4065, allocations: 0.8402 MB / 0.5282 GB, free: 29.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4067, allocations: 0.7923 MB / 0.529 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.4069, allocations: 43.48 kB / 0.529 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.4069, allocations: 28.36 kB / 0.5291 GB, free: 28.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4069, allocations: 0 / 0.5291 GB, free: 28.48 MB / 378.7 MB Notification: Performance of Templates: time 0.005868/0.4128, allocations: 3.112 MB / 0.5321 GB, free: 28.17 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches