Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 80.06 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4251, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00321/0.4284, allocations: 1.726 MB / 0.5328 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.431, allocations: 1.622 MB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.4311, allocations: 3.938 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.4314, allocations: 41.39 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.4318, allocations: 99.66 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.432, allocations: 80.19 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4322, allocations: 101 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4323, allocations: 10.86 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.4324, allocations: 49.59 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.4326, allocations: 42.95 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4326, allocations: 5.5 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.4328, allocations: 111 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.4329, allocations: 24.03 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.4329, allocations: 32.05 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4332, allocations: 174.6 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4332, allocations: 1.375 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4332, allocations: 0 / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4332, allocations: 0 / 0.5351 GB, free: 10.53 MB / 398.1 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.0005878/0.4338, allocations: 427.6 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4339, allocations: 9.844 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.4339, allocations: 9.25 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.4342, allocations: 211.8 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.4343, allocations: 17.97 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.4343, allocations: 6.297 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4345, allocations: 69.52 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4345, allocations: 5.109 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4345, allocations: 0 / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4345, allocations: 1.188 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.4346, allocations: 18.45 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.435, allocations: 289.8 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4352, allocations: 57.11 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.4352, allocations: 21.44 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.4353, allocations: 1.094 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.4354, allocations: 69.42 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.4354, allocations: 1.094 kB / 0.5363 GB, free: 9.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.436, allocations: 176.2 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.4361, allocations: 82.7 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4362, allocations: 160 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4363, allocations: 30.92 kB / 0.5367 GB, free: 8.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.4363, allocations: 95.58 kB / 0.5368 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.4364, allocations: 28.06 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.4364, allocations: 28.25 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4366, allocations: 322 kB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.4366, allocations: 22.98 kB / 0.5372 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.4367, allocations: 41.16 kB / 0.5372 GB, free: 8.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4368, allocations: 63.11 kB / 0.5373 GB, free: 8.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4368, allocations: 4.031 kB / 0.5373 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.437, allocations: 99.72 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4371, allocations: 5.656 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4371, allocations: 0 / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4371, allocations: 1.094 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.4372, allocations: 17.61 kB / 0.5374 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4372, allocations: 5.125 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.4372, allocations: 6.156 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4373, allocations: 2.812 kB / 0.5374 GB, free: 8.32 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.4374, allocations: 128.5 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4374, allocations: 17.28 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.4375, allocations: 12.38 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4375, allocations: 1.094 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4375, allocations: 7.938 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4375, allocations: 1 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.4379, allocations: 392.6 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4379, allocations: 4.031 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.438, allocations: 16.02 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.438, allocations: 1.094 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.438, allocations: 1.25 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.438, allocations: 1.219 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.438, allocations: 0 / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4383, allocations: 204.7 kB / 0.5381 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.4383, allocations: 96.19 kB / 0.5382 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4384, allocations: 5.094 kB / 0.5382 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.4384, allocations: 2.438 kB / 0.5382 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.4385, allocations: 11.28 kB / 0.5383 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4385, allocations: 3.219 kB / 0.5383 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4386, allocations: 127.4 kB / 0.5384 GB, free: 7.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4386, allocations: 0 / 0.5384 GB, free: 7.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.4389, allocations: 51.3 kB / 0.5384 GB, free: 7.355 MB / 398.1 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 (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.001263/0.4402, allocations: 0.5422 MB / 0.539 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.4404, allocations: 57.86 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4404, allocations: 0.9688 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.4405, allocations: 29.86 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4409, allocations: 41.22 kB / 0.5391 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.4413, allocations: 191 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.4416, allocations: 0.6983 MB / 0.5399 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.4416, allocations: 27.56 kB / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.4417, allocations: 21.3 kB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4417, allocations: 0 / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of Templates: time 0.006005/0.4477, allocations: 2.357 MB / 0.5423 GB, free: 4.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches