Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 75.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4268, allocations: 62.43 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003955/0.4308, allocations: 1.735 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.4338, allocations: 1.629 MB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.434, allocations: 1.375 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.4344, allocations: 41.39 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.4349, allocations: 100.4 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.4353, allocations: 70.94 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.4356, allocations: 121 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4357, allocations: 10.88 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.4358, allocations: 51.03 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.436, allocations: 48.27 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.4361, allocations: 5.5 kB / 0.5354 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.4364, allocations: 115 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.4364, allocations: 26.44 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.4365, allocations: 32.34 kB / 0.5356 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.437, allocations: 177.3 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.437, allocations: 4.969 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.437, allocations: 0 / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.437, allocations: 0 / 0.5358 GB, free: 10.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000757/0.4378, allocations: 435.6 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4378, allocations: 8.781 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.4379, allocations: 10.12 kB / 0.5362 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.4383, allocations: 224.6 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4383, allocations: 1.594 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4384, allocations: 7.406 kB / 0.5364 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.4386, allocations: 76.22 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4386, allocations: 5.156 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4386, allocations: 0 / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4386, allocations: 5.156 kB / 0.5365 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4387, allocations: 26.91 kB / 0.5366 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.4392, allocations: 302.5 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4394, allocations: 68.55 kB / 0.5369 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.4395, allocations: 32.09 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.4396, allocations: 5.25 kB / 0.5369 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4397, allocations: 68.55 kB / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4397, allocations: 0 / 0.537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007111/0.4405, allocations: 207.2 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.4406, allocations: 79.36 kB / 0.5373 GB, free: 8.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.4408, allocations: 170.1 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4408, allocations: 26.86 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.4409, allocations: 100.8 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.441, allocations: 23.84 kB / 0.5376 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.441, allocations: 30.39 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4412, allocations: 330 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.4413, allocations: 28.39 kB / 0.538 GB, free: 8.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.965e-05/0.4414, allocations: 52.22 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.4415, allocations: 67.19 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4415, allocations: 1.438 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002578/0.4418, allocations: 118.2 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4418, allocations: 5.594 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4418, allocations: 0 / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4419, allocations: 1.125 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.442, allocations: 23.23 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.442, allocations: 1.25 kB / 0.5382 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.442, allocations: 5.219 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.4421, allocations: 4.562 kB / 0.5382 GB, free: 8.164 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 (11): * Single equations (assignments): 11 * 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.0001255/0.4422, allocations: 124.5 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.4422, allocations: 13.34 kB / 0.5384 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.4423, allocations: 17.73 kB / 0.5384 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4423, allocations: 1.156 kB / 0.5384 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4423, allocations: 4 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4423, allocations: 5.531 kB / 0.5384 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.4429, allocations: 417.8 kB / 0.5388 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4429, allocations: 5.5 kB / 0.5388 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.4429, allocations: 12.72 kB / 0.5388 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.443, allocations: 5.25 kB / 0.5388 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.443, allocations: 6.094 kB / 0.5388 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.443, allocations: 3.984 kB / 0.5388 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.443, allocations: 0.9062 kB / 0.5388 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.4433, allocations: 212.3 kB / 0.539 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.4434, allocations: 83.27 kB / 0.5391 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.4434, allocations: 10.14 kB / 0.5391 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.4435, allocations: 10.25 kB / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.4435, allocations: 4.469 kB / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.4435, allocations: 11.11 kB / 0.5391 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4437, allocations: 127.2 kB / 0.5393 GB, free: 7.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4437, allocations: 1 kB / 0.5393 GB, free: 7.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.444, allocations: 50.3 kB / 0.5393 GB, free: 7.18 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 (9): * Single equations (assignments): 7 * 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.00135/0.4454, allocations: 0.5473 MB / 0.5398 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.4456, allocations: 67.5 kB / 0.5399 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4456, allocations: 1.094 kB / 0.5399 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.4457, allocations: 32.62 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.4461, allocations: 41.16 kB / 0.54 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.4467, allocations: 241.5 kB / 0.5402 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.447, allocations: 0.6998 MB / 0.5409 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.4471, allocations: 26.95 kB / 0.5409 GB, free: 5.898 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4471, allocations: 0 / 0.5409 GB, free: 5.898 MB / 398.1 MB Notification: Performance of Templates: time 0.006121/0.4532, allocations: 2.536 MB / 0.5434 GB, free: 4.594 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches