Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001039, allocations: 118.1 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.001025/0.001025, allocations: 202 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.494/1.494, 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.2744/0.2744, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.88 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5381, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004803/0.543, allocations: 1.745 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.5454, allocations: 1.018 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.5455, allocations: 1.375 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.546, allocations: 50.88 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.5464, allocations: 97.78 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.5466, allocations: 82.91 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.5469, allocations: 104.9 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.547, allocations: 10.88 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5471, allocations: 48.27 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.5472, allocations: 29.42 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.5472, allocations: 4.125 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.5474, allocations: 39.48 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.5474, allocations: 29.47 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.5475, allocations: 43.92 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.5478, allocations: 126.8 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.5478, allocations: 0 / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5478, allocations: 3.938 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.5478, allocations: 0 / 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.0008285/0.5487, allocations: 440.9 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/0.5488, allocations: 9.625 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.5488, allocations: 10.39 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.5493, allocations: 223.6 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.5493, allocations: 13.72 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.5494, allocations: 9.5 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.5496, allocations: 51.11 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5496, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5496, allocations: 4 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5496, allocations: 1.281 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.5497, allocations: 18.67 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.5503, allocations: 289.6 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.5505, allocations: 64.95 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.5506, allocations: 18.55 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.5506, allocations: 9.078 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.5508, allocations: 64.95 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.5508, allocations: 4 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007024/0.5516, allocations: 176.2 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.5516, allocations: 60.52 kB / 0.5358 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.552, allocations: 240.4 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.552, allocations: 30.83 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.5521, allocations: 109.4 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.5522, allocations: 20.36 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.5522, allocations: 28.64 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.5525, allocations: 335.2 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.5526, allocations: 18.75 kB / 0.5366 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.69e-05/0.5527, allocations: 35.45 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.5528, allocations: 58.73 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5528, allocations: 1.281 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002296/0.5531, allocations: 111.3 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5531, allocations: 5.438 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5531, allocations: 1.062 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.5531, allocations: 0.9688 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5533, allocations: 13.12 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.5533, allocations: 4.938 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.5533, allocations: 10.14 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.5534, allocations: 2.406 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.0001948/0.5536, allocations: 126.6 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5536, allocations: 22.67 kB / 0.5369 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.5537, allocations: 15.41 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5537, allocations: 1.469 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5537, allocations: 0 / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.5537, allocations: 3.938 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.5543, allocations: 406 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5544, allocations: 1.125 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.5544, allocations: 7.844 kB / 0.5373 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5544, allocations: 4.031 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.5544, allocations: 10.27 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5544, allocations: 1.594 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5544, allocations: 0 / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.5547, allocations: 209.8 kB / 0.5376 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.5548, allocations: 88.58 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.5549, allocations: 13.25 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.555, allocations: 9.422 kB / 0.5377 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.555, allocations: 8.188 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.555, allocations: 3.625 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.5552, allocations: 177.3 kB / 0.5379 GB, free: 7.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5552, allocations: 0 / 0.5379 GB, free: 7.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.5555, allocations: 21.19 kB / 0.5379 GB, free: 7.809 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.001253/0.5568, allocations: 468.7 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.557, allocations: 53.33 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.557, allocations: 5.188 kB / 0.5384 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.5571, allocations: 29.23 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.5575, allocations: 42.72 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/0.5582, allocations: 259.1 kB / 0.5387 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.5587, allocations: 0.7056 MB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.228e-05/0.5588, allocations: 22.2 kB / 0.5394 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.5588, allocations: 28.17 kB / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5588, allocations: 0 / 0.5394 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.006663/0.5655, allocations: 1.745 MB / 0.5411 GB, free: 5.691 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches