Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, 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.001295/0.001295, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 75.89 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4346, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00348/0.4381, allocations: 1.736 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.44, allocations: 1.018 MB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.4401, allocations: 1.031 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.4404, allocations: 43.83 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.4408, allocations: 96.06 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.441, allocations: 82.72 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.4412, allocations: 102.3 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.4413, allocations: 10.86 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4415, allocations: 64.14 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.4416, allocations: 29.42 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.4416, allocations: 4.125 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4417, allocations: 39.48 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.989e-05/0.4418, allocations: 22.78 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.4418, allocations: 32 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.4421, allocations: 122.1 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4421, allocations: 1.375 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4421, allocations: 0 / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4421, allocations: 3.938 kB / 0.5351 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.0006164/0.4427, allocations: 419 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4428, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4428, allocations: 8.969 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.4431, allocations: 213.3 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4432, allocations: 5.75 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.4432, allocations: 10.86 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.4434, allocations: 54.05 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4434, allocations: 3.906 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.4434, allocations: 5.375 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4434, allocations: 3.938 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.681e-05/0.4435, allocations: 18.98 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.4439, allocations: 286.8 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.4441, allocations: 53.94 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.4442, allocations: 29.84 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4442, allocations: 0.9375 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.4444, allocations: 69.33 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4444, allocations: 0 / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.4449, allocations: 170.1 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.445, allocations: 52.81 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4452, allocations: 200.6 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4453, allocations: 26.73 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.4453, allocations: 104.5 kB / 0.5367 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.4454, allocations: 27.25 kB / 0.5367 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.4454, allocations: 24.53 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4455, allocations: 326.5 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.4456, allocations: 22.77 kB / 0.5371 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.4457, allocations: 39.8 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.4458, allocations: 59.56 kB / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4458, allocations: 0 / 0.5372 GB, free: 8.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.446, allocations: 107.4 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4461, allocations: 5.781 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4461, allocations: 0 / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4461, allocations: 1.125 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.4462, allocations: 21.08 kB / 0.5373 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4462, allocations: 5.219 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.4463, allocations: 6.125 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4463, allocations: 6.406 kB / 0.5373 GB, free: 8.855 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.000105/0.4464, allocations: 118.8 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4464, allocations: 14.3 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.4465, allocations: 13.81 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4465, allocations: 2.25 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4465, allocations: 3.938 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4465, allocations: 3.938 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.447, allocations: 402.5 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.447, allocations: 1.25 kB / 0.5379 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.447, allocations: 10.81 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.447, allocations: 1.156 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4471, allocations: 10.16 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4471, allocations: 1.188 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4471, allocations: 0 / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4473, allocations: 205.6 kB / 0.5381 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.4474, allocations: 91.2 kB / 0.5382 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4474, allocations: 6.688 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.4475, allocations: 1.156 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.4475, allocations: 16.42 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4476, allocations: 2.531 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.4477, allocations: 153.1 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4477, allocations: 4 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.448, allocations: 24.66 kB / 0.5384 GB, free: 7.887 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.001128/0.4491, allocations: 450.1 kB / 0.5388 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.4493, allocations: 65.77 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4493, allocations: 0 / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.4494, allocations: 30.36 kB / 0.5389 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4498, allocations: 32.39 kB / 0.5389 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.4503, allocations: 262.5 kB / 0.5392 GB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4506, allocations: 0.7053 MB / 0.5399 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.4506, allocations: 24.27 kB / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4506, allocations: 0 / 0.5399 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.004199/0.4548, allocations: 1.954 MB / 0.5418 GB, free: 5.66 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches