Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, 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.443/1.443, allocations: 226.8 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 101.4 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4629/0.4629, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4164, allocations: 62.02 MB / 0.5152 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003221/0.4197, allocations: 1.987 MB / 0.5171 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.4214, allocations: 1.142 MB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4215, allocations: 6.812 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.422, allocations: 247.7 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.4224, allocations: 214.2 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.4228, allocations: 152.7 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.4231, allocations: 266.4 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.4232, allocations: 29.36 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.4234, allocations: 126.8 kB / 0.5192 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.4236, allocations: 188.3 kB / 0.5194 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.4236, allocations: 5.375 kB / 0.5194 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4237, allocations: 57.56 kB / 0.5195 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.4238, allocations: 63.16 kB / 0.5195 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.4239, allocations: 98.53 kB / 0.5196 GB, free: 35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.4242, allocations: 250.2 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4242, allocations: 4 kB / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.4242, allocations: 0 / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4243, allocations: 0 / 0.5199 GB, free: 34.88 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.0007053/0.425, allocations: 0.5804 MB / 0.5204 GB, free: 34.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.425, allocations: 8.719 kB / 0.5204 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.4251, allocations: 31.22 kB / 0.5205 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.4254, allocations: 295.7 kB / 0.5207 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4254, allocations: 6.484 kB / 0.5207 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.4254, allocations: 13.25 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.4257, allocations: 112.3 kB / 0.5209 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4257, allocations: 0 / 0.5209 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4257, allocations: 2.781 kB / 0.5209 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4257, allocations: 0 / 0.5209 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.4258, allocations: 52.62 kB / 0.5209 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.4263, allocations: 483.9 kB / 0.5214 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.4267, allocations: 123.8 kB / 0.5215 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.4268, allocations: 45.42 kB / 0.5215 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4268, allocations: 4 kB / 0.5215 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.4271, allocations: 122.7 kB / 0.5217 GB, free: 33.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.4271, allocations: 0 / 0.5217 GB, free: 33.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001162/0.4283, allocations: 0.5113 MB / 0.5222 GB, free: 33.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4283, allocations: 79.27 kB / 0.5222 GB, free: 33.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.4288, allocations: 0.4895 MB / 0.5227 GB, free: 32.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4288, allocations: 28.61 kB / 0.5227 GB, free: 32.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.943e-05/0.4289, allocations: 167.7 kB / 0.5229 GB, free: 32.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.429, allocations: 72.64 kB / 0.523 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.429, allocations: 47.33 kB / 0.523 GB, free: 32.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.4291, allocations: 353.5 kB / 0.5234 GB, free: 32.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4292, allocations: 51.8 kB / 0.5234 GB, free: 32.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4294, allocations: 97.28 kB / 0.5235 GB, free: 32.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4296, allocations: 161.7 kB / 0.5236 GB, free: 32.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4296, allocations: 4 kB / 0.5237 GB, free: 32.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003225/0.4299, allocations: 230.6 kB / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4299, allocations: 9.875 kB / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.43, allocations: 0 / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.43, allocations: 3 kB / 0.5239 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4301, allocations: 49.84 kB / 0.5239 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4301, allocations: 0 / 0.5239 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.4302, allocations: 13.08 kB / 0.5239 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4302, allocations: 9.875 kB / 0.524 GB, free: 31.95 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.0001315/0.4304, allocations: 183.7 kB / 0.5241 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.4304, allocations: 40.59 kB / 0.5242 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.4305, allocations: 42.23 kB / 0.5242 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4305, allocations: 2.812 kB / 0.5242 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4305, allocations: 2.875 kB / 0.5242 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4305, allocations: 3.328 kB / 0.5242 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/0.4313, allocations: 0.7381 MB / 0.5249 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4313, allocations: 2.531 kB / 0.5249 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.4314, allocations: 27.91 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4314, allocations: 3.031 kB / 0.525 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.4314, allocations: 14.59 kB / 0.525 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4314, allocations: 6.938 kB / 0.525 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4314, allocations: 3.938 kB / 0.525 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.4321, allocations: 1.078 MB / 0.526 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.4322, allocations: 108.2 kB / 0.5262 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.4322, allocations: 12.97 kB / 0.5262 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4324, allocations: 6.781 kB / 0.5262 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.4324, allocations: 17.61 kB / 0.5262 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.4325, allocations: 12.16 kB / 0.5262 GB, free: 30.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003279/0.4328, allocations: 381.2 kB / 0.5266 GB, free: 29.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4328, allocations: 3.938 kB / 0.5266 GB, free: 29.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004388/0.4333, allocations: 52.53 kB / 0.5266 GB, free: 29.95 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.001316/0.4346, allocations: 0.5008 MB / 0.5271 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.435, allocations: 155.5 kB / 0.5273 GB, free: 29.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.435, allocations: 4.125 kB / 0.5273 GB, free: 29.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4351, allocations: 86.17 kB / 0.5273 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.4357, allocations: 61.64 kB / 0.5274 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4368, allocations: 0.8406 MB / 0.5282 GB, free: 29.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4371, allocations: 0.7863 MB / 0.529 GB, free: 28.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.4372, allocations: 47.8 kB / 0.529 GB, free: 28.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.4373, allocations: 28.53 kB / 0.5291 GB, free: 28.3 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4373, allocations: 0 / 0.5291 GB, free: 28.3 MB / 378.7 MB Notification: Performance of Templates: time 0.006451/0.4437, allocations: 3.119 MB / 0.5321 GB, free: 27.98 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches