Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, 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.00188/0.00188, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 68.11 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3339, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002875/0.3368, allocations: 1.774 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3385, allocations: 1.035 MB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.3386, allocations: 1.594 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3389, allocations: 106.6 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.3393, allocations: 124.8 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3395, allocations: 84.28 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3397, allocations: 137.4 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3399, allocations: 28.36 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.34, allocations: 57.89 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3402, allocations: 70.12 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3402, allocations: 9.438 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3403, allocations: 67.83 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.3404, allocations: 32.3 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.3404, allocations: 50.61 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.3407, allocations: 159.7 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3407, allocations: 1.375 kB / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3407, allocations: 0 / 0.5354 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3407, allocations: 0 / 0.5354 GB, free: 10.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000573/0.3413, allocations: 457.3 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3413, allocations: 10 kB / 0.5358 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.3414, allocations: 15.38 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3417, allocations: 238.5 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3418, allocations: 2.469 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3418, allocations: 12.44 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.342, allocations: 70.12 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.342, allocations: 0 / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.342, allocations: 1.094 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.342, allocations: 4.938 kB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3421, allocations: 36.31 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.3426, allocations: 330.2 kB / 0.5365 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.3429, allocations: 83.28 kB / 0.5366 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.343, allocations: 28.47 kB / 0.5366 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.343, allocations: 2.812 kB / 0.5366 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3432, allocations: 81.25 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.3432, allocations: 0 / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008866/0.3441, allocations: 313.9 kB / 0.537 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3441, allocations: 52.56 kB / 0.537 GB, free: 9.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3444, allocations: 254.9 kB / 0.5373 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3444, allocations: 28 kB / 0.5373 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.3445, allocations: 127.3 kB / 0.5374 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.3445, allocations: 42.42 kB / 0.5375 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.3446, allocations: 31.88 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3447, allocations: 332.3 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.3448, allocations: 40.23 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.3449, allocations: 55.27 kB / 0.5379 GB, free: 8.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.3451, allocations: 99.36 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3451, allocations: 5.094 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002615/0.3454, allocations: 160.7 kB / 0.5382 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3454, allocations: 6.625 kB / 0.5382 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3454, allocations: 3.984 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3455, allocations: 5.156 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.3456, allocations: 22.28 kB / 0.5382 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.3456, allocations: 5.297 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.3456, allocations: 5.312 kB / 0.5382 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3457, allocations: 5.406 kB / 0.5382 GB, free: 8.434 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 (16): * Single equations (assignments): 16 * 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.0001202/0.3458, allocations: 145.1 kB / 0.5384 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.3458, allocations: 17.16 kB / 0.5384 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.3459, allocations: 22.77 kB / 0.5384 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3459, allocations: 4.656 kB / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3459, allocations: 0 / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3459, allocations: 1.062 kB / 0.5384 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.3466, allocations: 0.5002 MB / 0.5389 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3466, allocations: 5.078 kB / 0.5389 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.3467, allocations: 20.53 kB / 0.5389 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3467, allocations: 6 kB / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3467, allocations: 9.859 kB / 0.5389 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3467, allocations: 6.172 kB / 0.5389 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3467, allocations: 0 / 0.5389 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.347, allocations: 265.5 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3471, allocations: 89.42 kB / 0.5393 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3471, allocations: 2.312 kB / 0.5393 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.3472, allocations: 6.312 kB / 0.5393 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.3472, allocations: 9.609 kB / 0.5393 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3473, allocations: 5.625 kB / 0.5393 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.3475, allocations: 200.6 kB / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3475, allocations: 0 / 0.5395 GB, free: 7.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.3478, allocations: 36.06 kB / 0.5395 GB, free: 7.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001185/0.349, allocations: 0.5121 MB / 0.54 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3492, allocations: 103 kB / 0.5401 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3492, allocations: 1.094 kB / 0.5401 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3493, allocations: 50.33 kB / 0.5402 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.0003672/0.3497, allocations: 49.19 kB / 0.5402 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.3503, allocations: 355.4 kB / 0.5406 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3506, allocations: 0.7255 MB / 0.5413 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.3507, allocations: 20.12 kB / 0.5413 GB, free: 5.984 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3507, allocations: 4 kB / 0.5413 GB, free: 5.98 MB / 398.1 MB Notification: Performance of Templates: time 0.00459/0.3553, allocations: 2.531 MB / 0.5438 GB, free: 4.676 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches