Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.643/1.643, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 75.88 kB / 482.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3574, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003127/0.3605, allocations: 1.728 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.3631, allocations: 1.624 MB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.3632, allocations: 1 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.3635, allocations: 45.92 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.3639, allocations: 98.94 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3642, allocations: 71.61 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3643, allocations: 106 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3645, allocations: 10.78 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3646, allocations: 53.8 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3648, allocations: 47.34 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3648, allocations: 4.594 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.365, allocations: 115 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.3651, allocations: 20.44 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.3652, allocations: 31.91 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3655, allocations: 170.9 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3655, allocations: 1.375 kB / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3655, allocations: 0 / 0.5358 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3655, allocations: 4 kB / 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.0006122/0.3661, allocations: 432.3 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3662, allocations: 9.625 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.3662, allocations: 8.969 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3666, allocations: 211.8 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3666, allocations: 5.312 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3666, allocations: 2.75 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3668, allocations: 74.5 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3668, allocations: 3.984 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3668, allocations: 7.938 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3669, allocations: 1.375 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.3669, allocations: 18.98 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3673, allocations: 281.1 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3675, allocations: 62.17 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3676, allocations: 21.89 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3676, allocations: 0 / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3678, allocations: 69.72 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3678, allocations: 0 / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006243/0.3684, allocations: 164.9 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3685, allocations: 91.23 kB / 0.5372 GB, free: 9.082 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3687, allocations: 165.1 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3687, allocations: 26.83 kB / 0.5373 GB, free: 8.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.3688, allocations: 103.2 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3688, allocations: 28 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3689, allocations: 21.19 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.369, allocations: 320.9 kB / 0.5378 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.3691, allocations: 26.89 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.3692, allocations: 42.44 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3693, allocations: 59.09 kB / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3693, allocations: 0 / 0.5379 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002095/0.3695, allocations: 103.2 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3695, allocations: 7.281 kB / 0.538 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3695, allocations: 4.875 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3696, allocations: 1.312 kB / 0.538 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.3697, allocations: 17.86 kB / 0.538 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3697, allocations: 3.938 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.3697, allocations: 2.594 kB / 0.5381 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3698, allocations: 10.91 kB / 0.5381 GB, free: 8.273 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.0001041/0.3699, allocations: 117.4 kB / 0.5382 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3699, allocations: 15.47 kB / 0.5382 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.37, allocations: 20.95 kB / 0.5382 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.37, allocations: 5.094 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.37, allocations: 3.938 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.37, allocations: 1.062 kB / 0.5382 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3705, allocations: 392.1 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3705, allocations: 1.062 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.3705, allocations: 15.67 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3705, allocations: 0 / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3706, allocations: 6.812 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3706, allocations: 4.031 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3706, allocations: 1.188 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.3708, allocations: 192.3 kB / 0.5388 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.3709, allocations: 95.61 kB / 0.5389 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3709, allocations: 5.859 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.371, allocations: 2.062 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.371, allocations: 11.84 kB / 0.5389 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3711, allocations: 11.05 kB / 0.5389 GB, free: 7.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3712, allocations: 127.7 kB / 0.539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3712, allocations: 0 / 0.539 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.3715, allocations: 46.92 kB / 0.5391 GB, free: 7.316 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.001317/0.3728, allocations: 0.5446 MB / 0.5396 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3731, allocations: 54.08 kB / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3731, allocations: 0 / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3732, allocations: 30.98 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.0003619/0.3736, allocations: 31.58 kB / 0.5397 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3741, allocations: 233.8 kB / 0.54 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3744, allocations: 0.7029 MB / 0.5406 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3745, allocations: 21.8 kB / 0.5407 GB, free: 6.059 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3745, allocations: 0 / 0.5407 GB, free: 6.059 MB / 398.1 MB Notification: Performance of Templates: time 0.004973/0.3794, allocations: 2.416 MB / 0.543 GB, free: 4.812 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches