Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001699/0.001699, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 75.88 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4062, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003547/0.4098, allocations: 1.73 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.4117, allocations: 1.022 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.4118, allocations: 1.375 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.4121, allocations: 51.02 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.4125, allocations: 105.8 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4128, allocations: 78.91 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.413, allocations: 110.2 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4131, allocations: 6.875 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4132, allocations: 44.28 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.4133, allocations: 41.41 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4134, allocations: 4.125 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4135, allocations: 39.48 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.4135, allocations: 26.91 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.4136, allocations: 45.25 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.4139, allocations: 140.8 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4139, allocations: 1.375 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4139, allocations: 0 / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4139, allocations: 0 / 0.5351 GB, free: 11.04 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.0006733/0.4146, allocations: 445.7 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4147, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.4147, allocations: 15.62 kB / 0.5355 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4151, allocations: 224.2 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4151, allocations: 1.75 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4151, allocations: 5.5 kB / 0.5358 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4153, allocations: 63.03 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4153, allocations: 3.938 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4153, allocations: 0 / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4154, allocations: 1.375 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.4154, allocations: 22.33 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.4159, allocations: 299.5 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4161, allocations: 61.83 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.4161, allocations: 17.7 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4162, allocations: 5.062 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.4163, allocations: 65.89 kB / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4163, allocations: 0 / 0.5363 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006285/0.417, allocations: 185.1 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.417, allocations: 52.53 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.4174, allocations: 274.7 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4174, allocations: 30.83 kB / 0.5368 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.4175, allocations: 115.6 kB / 0.5369 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4175, allocations: 24.12 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.4176, allocations: 24.58 kB / 0.537 GB, free: 9.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4177, allocations: 331.3 kB / 0.5373 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-05/0.4178, allocations: 23.3 kB / 0.5373 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.4179, allocations: 43.27 kB / 0.5373 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.418, allocations: 55.44 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.418, allocations: 0 / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002086/0.4182, allocations: 117 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4182, allocations: 5.25 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4182, allocations: 0.9688 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4183, allocations: 1.188 kB / 0.5375 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4184, allocations: 17.17 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4184, allocations: 1.438 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.4185, allocations: 9.188 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.4185, allocations: 2.688 kB / 0.5375 GB, free: 8.785 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.0001514/0.4186, allocations: 137.5 kB / 0.5377 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.4187, allocations: 14.84 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.363e-05/0.4187, allocations: 25.42 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4187, allocations: 1.094 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4187, allocations: 0 / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4188, allocations: 5.094 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.4193, allocations: 411.8 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4193, allocations: 1.844 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.4193, allocations: 6.938 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4193, allocations: 1.312 kB / 0.5381 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4193, allocations: 9.125 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4194, allocations: 5.172 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4194, allocations: 0 / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.4196, allocations: 206.8 kB / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.4197, allocations: 89.14 kB / 0.5384 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4197, allocations: 5.312 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.4198, allocations: 1.25 kB / 0.5384 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.4198, allocations: 7.703 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4199, allocations: 3.969 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4201, allocations: 206.8 kB / 0.5386 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4201, allocations: 0 / 0.5386 GB, free: 7.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4204, allocations: 25.25 kB / 0.5386 GB, free: 7.797 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.001195/0.4216, allocations: 463.1 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.4218, allocations: 66.06 kB / 0.5392 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4218, allocations: 0 / 0.5392 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.4219, allocations: 29.83 kB / 0.5392 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.4223, allocations: 39.94 kB / 0.5392 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.4229, allocations: 320.1 kB / 0.5395 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4232, allocations: 0.7242 MB / 0.5402 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.4233, allocations: 16.22 kB / 0.5402 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4233, allocations: 0 / 0.5402 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.004535/0.4278, allocations: 2.119 MB / 0.5423 GB, free: 5.426 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches