Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 202 kB / 18.73 MB, free: 4.324 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 / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 79.88 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3948, allocations: 62.44 MB / 0.5311 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003492/0.3983, allocations: 1.737 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.4003, allocations: 1.014 MB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.4004, allocations: 1.312 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.4008, allocations: 40.38 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.4011, allocations: 107 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.4013, allocations: 78.91 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4015, allocations: 106.3 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4016, allocations: 6.875 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.4017, allocations: 42.91 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.4018, allocations: 34.78 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4018, allocations: 8.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.44e-05/0.4019, allocations: 39.48 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.402, allocations: 26.78 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.402, allocations: 35.94 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4022, allocations: 118.1 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4023, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4023, allocations: 0 / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4023, allocations: 1.375 kB / 0.5344 GB, free: 11.07 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.000644/0.4029, allocations: 415 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.403, allocations: 8.25 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.403, allocations: 14.34 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4034, allocations: 217.3 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4034, allocations: 1.75 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4034, allocations: 14.8 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.4036, allocations: 54.05 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4036, allocations: 3.906 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4037, allocations: 3.984 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4037, allocations: 1.375 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.58e-05/0.4037, allocations: 18.98 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.4042, allocations: 294.8 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.4043, allocations: 53.88 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.4044, allocations: 21.41 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4044, allocations: 1.094 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.4046, allocations: 68.64 kB / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4046, allocations: 0 / 0.5355 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.4051, allocations: 179.4 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.4052, allocations: 51.41 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.4054, allocations: 192.7 kB / 0.5359 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4054, allocations: 30.8 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.4055, allocations: 106.2 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.4055, allocations: 27.36 kB / 0.5361 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.4056, allocations: 24.42 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4057, allocations: 329.4 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.4058, allocations: 22.8 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.4059, allocations: 39.86 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.406, allocations: 63.41 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.406, allocations: 0 / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.4062, allocations: 103.3 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4062, allocations: 5.938 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4062, allocations: 0 / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4063, allocations: 1.125 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.4064, allocations: 18 kB / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4064, allocations: 0 / 0.5367 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.4064, allocations: 14.14 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4065, allocations: 7.375 kB / 0.5367 GB, free: 8.902 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.0001149/0.4066, allocations: 126.9 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.4066, allocations: 9.594 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.4067, allocations: 17.98 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4067, allocations: 1.125 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4067, allocations: 1.094 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4067, allocations: 3.938 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.4072, allocations: 402.5 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4072, allocations: 1.062 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.4072, allocations: 7.188 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4072, allocations: 1.031 kB / 0.5372 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4073, allocations: 5.812 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4073, allocations: 0.8438 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4073, allocations: 1.062 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4075, allocations: 204.6 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.4076, allocations: 92.16 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.4076, allocations: 4.969 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.4077, allocations: 1.938 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.4077, allocations: 16.16 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4078, allocations: 2.844 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.4079, allocations: 153.5 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4079, allocations: 0 / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000281/0.4082, allocations: 24.75 kB / 0.5377 GB, free: 7.941 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.00111/0.4093, allocations: 465.3 kB / 0.5382 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.4096, allocations: 62.59 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4096, allocations: 4.062 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.4097, allocations: 29.08 kB / 0.5382 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.41, allocations: 35.59 kB / 0.5383 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.4105, allocations: 231.3 kB / 0.5385 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4108, allocations: 0.706 MB / 0.5392 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.216e-05/0.4109, allocations: 17.78 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.4109, allocations: 19.78 kB / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4109, allocations: 0 / 0.5392 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Templates: time 0.004559/0.4155, allocations: 1.75 MB / 0.5409 GB, free: 5.84 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches