Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0016/0.0016, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3975, allocations: 62.45 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002952/0.4005, allocations: 1.729 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.4023, allocations: 1.023 MB / 0.5338 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.4024, allocations: 1.375 kB / 0.5338 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.4027, allocations: 42.17 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.403, allocations: 91.14 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.4033, allocations: 83.72 kB / 0.534 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.4034, allocations: 100.7 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4036, allocations: 15.42 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/0.4036, allocations: 35.77 kB / 0.5341 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.4037, allocations: 40.97 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4037, allocations: 4.562 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.4039, allocations: 43.41 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.4039, allocations: 22.64 kB / 0.5342 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.404, allocations: 39.89 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4042, allocations: 123.2 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4042, allocations: 0 / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4042, allocations: 1.375 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4043, allocations: 0 / 0.5344 GB, free: 11.25 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.0006213/0.4049, allocations: 432.8 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4049, allocations: 9.625 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.405, allocations: 9.016 kB / 0.5348 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.4053, allocations: 217.3 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4053, allocations: 1.75 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.4054, allocations: 10.88 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.4055, allocations: 50.05 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4055, allocations: 0 / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4056, allocations: 5.375 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4056, allocations: 3.984 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.4057, allocations: 18.94 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.406, allocations: 290.9 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.4062, allocations: 53.94 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.4063, allocations: 21.09 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.4063, allocations: 1.375 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.4065, allocations: 73.08 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4065, allocations: 0 / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005622/0.4071, allocations: 182.2 kB / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.4071, allocations: 52.53 kB / 0.5358 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.4073, allocations: 197.1 kB / 0.5359 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4074, allocations: 26.83 kB / 0.536 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.4074, allocations: 101.5 kB / 0.5361 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4075, allocations: 23.11 kB / 0.5361 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.4075, allocations: 32.2 kB / 0.5361 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4077, allocations: 327.1 kB / 0.5364 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/0.4077, allocations: 22.61 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.4078, allocations: 31.72 kB / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4079, allocations: 62.36 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.408, allocations: 5.094 kB / 0.5365 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.4082, allocations: 111.5 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4082, allocations: 4.875 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4082, allocations: 1.688 kB / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4082, allocations: 0 / 0.5367 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4083, allocations: 17.31 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4084, allocations: 4.969 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.4084, allocations: 9.953 kB / 0.5367 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4084, allocations: 3.031 kB / 0.5367 GB, free: 9.078 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.0001372/0.4086, allocations: 127.7 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.4086, allocations: 12.84 kB / 0.5368 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.4087, allocations: 18.86 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4087, allocations: 1.219 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4087, allocations: 0 / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4087, allocations: 5.344 kB / 0.5368 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.4092, allocations: 393.8 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4092, allocations: 5.25 kB / 0.5372 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.4092, allocations: 10.88 kB / 0.5372 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4092, allocations: 1.156 kB / 0.5372 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4093, allocations: 10.38 kB / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4093, allocations: 0 / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4093, allocations: 1.031 kB / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.4095, allocations: 196.8 kB / 0.5374 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.4095, allocations: 96.5 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4096, allocations: 9.031 kB / 0.5375 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.4096, allocations: 2 kB / 0.5375 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.4097, allocations: 11.88 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4097, allocations: 2.969 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4098, allocations: 156.3 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4098, allocations: 1.125 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00025/0.4101, allocations: 24.53 kB / 0.5377 GB, free: 8.109 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.001003/0.4111, allocations: 456.5 kB / 0.5382 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.4113, allocations: 58.66 kB / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4113, allocations: 0 / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.4114, allocations: 33.73 kB / 0.5383 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4118, allocations: 28.11 kB / 0.5383 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.4122, allocations: 231.4 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4126, allocations: 0.7029 MB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.4126, allocations: 22.14 kB / 0.5392 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4127, allocations: 15.09 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4127, allocations: 1.156 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of Templates: time 0.004592/0.4173, allocations: 1.735 MB / 0.5409 GB, free: 6.035 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches