Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, 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.001182/0.001182, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.9 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.2712/0.2712, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 75.88 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5311, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003677/0.5349, allocations: 1.724 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.5373, allocations: 1.027 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.5374, allocations: 4 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.538, allocations: 44.28 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.5386, allocations: 96.45 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.5389, allocations: 78.92 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.5392, allocations: 102.3 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.5394, allocations: 13.5 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.5395, allocations: 48.27 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5397, allocations: 33.36 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.5397, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.5399, allocations: 44.84 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.973e-05/0.54, allocations: 20.17 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.226e-05/0.5401, allocations: 47.86 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.5404, allocations: 122.6 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5405, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.621e-06/0.5405, allocations: 4 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5405, allocations: 5.219 kB / 0.5344 GB, free: 11.02 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.0008421/0.5413, allocations: 443.3 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.5414, allocations: 9.344 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.5415, allocations: 15.75 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.5418, allocations: 218.8 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.5419, allocations: 1.531 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.5419, allocations: 11 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.5421, allocations: 54.42 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5421, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.5421, allocations: 4 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5421, allocations: 1.031 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.5422, allocations: 22.17 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.5427, allocations: 289.8 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.543, allocations: 65.47 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.141e-05/0.543, allocations: 21.94 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.5431, allocations: 5.469 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.5433, allocations: 64.58 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.5433, allocations: 0 / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000659/0.5439, allocations: 183.9 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.544, allocations: 52.56 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.5443, allocations: 241.1 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.5444, allocations: 34.67 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.5444, allocations: 109.6 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5445, allocations: 20.52 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.5445, allocations: 24.55 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.5448, allocations: 330.3 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.5448, allocations: 26.77 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.5449, allocations: 35.98 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.5451, allocations: 63.31 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5451, allocations: 0 / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.5453, allocations: 112.3 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5454, allocations: 5.25 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5454, allocations: 5.375 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.5454, allocations: 1.094 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5455, allocations: 17.5 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5456, allocations: 0 / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.5456, allocations: 10.92 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.5456, allocations: 2.562 kB / 0.5368 GB, free: 8.793 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.0001692/0.5458, allocations: 130.9 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5458, allocations: 12.97 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.5459, allocations: 16.03 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5459, allocations: 5.344 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5459, allocations: 1.406 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.546, allocations: 7.922 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.5465, allocations: 393.2 kB / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5466, allocations: 0 / 0.5373 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.5466, allocations: 15.95 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5466, allocations: 1.375 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.5466, allocations: 5.25 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5466, allocations: 5.469 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5466, allocations: 0 / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.5471, allocations: 205.8 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.5472, allocations: 89.2 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.5473, allocations: 5.344 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.804e-05/0.5473, allocations: 9.266 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.5474, allocations: 15.75 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.5474, allocations: 3.062 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.5477, allocations: 174 kB / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5477, allocations: 0 / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.548, allocations: 25.56 kB / 0.5379 GB, free: 7.816 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.001336/0.5494, allocations: 470 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.5496, allocations: 57.94 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5496, allocations: 0 / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.5497, allocations: 30.2 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5501, allocations: 32.16 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.5508, allocations: 263.2 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.5513, allocations: 0.7095 MB / 0.5394 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.5514, allocations: 14.44 kB / 0.5394 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.5515, allocations: 22.61 kB / 0.5394 GB, free: 6.586 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5515, allocations: 1.156 kB / 0.5394 GB, free: 6.586 MB / 398.1 MB Notification: Performance of Templates: time 0.005751/0.5572, allocations: 1.763 MB / 0.5411 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches