Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.09 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 83.88 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4062, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00314/0.4094, allocations: 1.735 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.4119, allocations: 1.621 MB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.412, allocations: 1.375 kB / 0.535 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.4123, allocations: 41.39 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.4127, allocations: 104.3 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.4129, allocations: 78.97 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4131, allocations: 106.3 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4132, allocations: 6.875 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4133, allocations: 49.64 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.4135, allocations: 42.91 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4135, allocations: 4.125 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.4137, allocations: 114.8 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.4138, allocations: 24.78 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.4139, allocations: 36.59 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.4142, allocations: 166.3 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4142, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4142, allocations: 1.25 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4142, allocations: 0 / 0.5358 GB, free: 10.48 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.0006604/0.4149, allocations: 431.9 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.415, allocations: 8.969 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.415, allocations: 17.48 kB / 0.5362 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.4153, allocations: 215.2 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4154, allocations: 9.281 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4154, allocations: 2.875 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.4156, allocations: 66.23 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4156, allocations: 0 / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4156, allocations: 1.062 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4156, allocations: 3.938 kB / 0.5365 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.4157, allocations: 22.61 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.4161, allocations: 289.5 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.4163, allocations: 49.91 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.4164, allocations: 25.78 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4164, allocations: 5.094 kB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4166, allocations: 64.95 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4166, allocations: 1.094 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006011/0.4172, allocations: 176.7 kB / 0.5371 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.4173, allocations: 82.17 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4175, allocations: 164.5 kB / 0.5373 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4175, allocations: 30.95 kB / 0.5374 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.4176, allocations: 103.6 kB / 0.5375 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.4176, allocations: 23.08 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.4177, allocations: 29.67 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4178, allocations: 321.1 kB / 0.5378 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.4179, allocations: 15.56 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.4179, allocations: 41.25 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4181, allocations: 66.61 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4181, allocations: 0 / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.4183, allocations: 99.06 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4183, allocations: 5.781 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.4183, allocations: 5.141 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4183, allocations: 1.188 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.4184, allocations: 12.34 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4185, allocations: 5.094 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4185, allocations: 6.125 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4185, allocations: 3.375 kB / 0.5381 GB, free: 8.277 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.0001232/0.4187, allocations: 126.7 kB / 0.5382 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.4187, allocations: 16.94 kB / 0.5382 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.4187, allocations: 12.25 kB / 0.5382 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4188, allocations: 5.125 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.4188, allocations: 7.922 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4188, allocations: 1.469 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.4193, allocations: 391.1 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4193, allocations: 5.094 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.4193, allocations: 11.09 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4193, allocations: 1.344 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4194, allocations: 2.188 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4194, allocations: 1.156 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4194, allocations: 0 / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.4196, allocations: 204.5 kB / 0.5388 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.4197, allocations: 88.42 kB / 0.5389 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4197, allocations: 9.094 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.4198, allocations: 6.109 kB / 0.5389 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.4198, allocations: 11.42 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4199, allocations: 4 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.42, allocations: 127.9 kB / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.42, allocations: 0 / 0.539 GB, free: 7.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.4203, allocations: 53.83 kB / 0.5391 GB, free: 7.312 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.001358/0.4217, allocations: 0.5348 MB / 0.5396 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4219, allocations: 63.09 kB / 0.5397 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4219, allocations: 4.062 kB / 0.5397 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.422, allocations: 21.31 kB / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4224, allocations: 47.7 kB / 0.5397 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.4228, allocations: 229.9 kB / 0.54 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4232, allocations: 0.6986 MB / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.4232, allocations: 21.89 kB / 0.5407 GB, free: 6.051 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4232, allocations: 0 / 0.5407 GB, free: 6.051 MB / 398.1 MB Notification: Performance of Templates: time 0.005302/0.4285, allocations: 2.41 MB / 0.543 GB, free: 4.809 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches