Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001214, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.89 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4017, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004245/0.406, allocations: 1.695 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4079, allocations: 1.011 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.408, allocations: 1.281 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.4085, allocations: 41.67 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.409, allocations: 107.3 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.4093, allocations: 73.66 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.4096, allocations: 93.8 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.4097, allocations: 8.766 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.4098, allocations: 44.38 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.41, allocations: 28.88 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.41, allocations: 4.031 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.4102, allocations: 36.27 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.4102, allocations: 31.3 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.359e-05/0.4103, allocations: 39.55 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4106, allocations: 124.8 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4107, allocations: 3.984 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4107, allocations: 3.938 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.4107, allocations: 0 / 0.5343 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006509/0.4113, allocations: 432.3 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.4114, allocations: 9.625 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4115, allocations: 11.72 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4118, allocations: 222.8 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4119, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4119, allocations: 5.5 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4121, allocations: 51.3 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4121, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4121, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4121, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.4122, allocations: 20.17 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.4125, allocations: 200.8 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4126, allocations: 51.19 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.4127, allocations: 25.03 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4127, allocations: 0 / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.4129, allocations: 69.08 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4129, allocations: 4 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003104/0.4132, allocations: 97.36 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4133, allocations: 51.41 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.4136, allocations: 267.6 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4136, allocations: 30.8 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.4137, allocations: 110.6 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4138, allocations: 23.05 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.4138, allocations: 14.09 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.414, allocations: 332.1 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.414, allocations: 15.42 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.4141, allocations: 35.55 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.4142, allocations: 35.66 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4142, allocations: 5.375 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001837/0.4144, allocations: 100.2 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4144, allocations: 5.375 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4145, allocations: 0 / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4145, allocations: 1.188 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.4146, allocations: 9.375 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4146, allocations: 1.125 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.4146, allocations: 6.469 kB / 0.5365 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4146, allocations: 5.484 kB / 0.5365 GB, free: 9.027 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 (7): * Single equations (assignments): 7 * 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.0001263/0.4148, allocations: 140.7 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4148, allocations: 15.03 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.4149, allocations: 16.03 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4149, allocations: 1.281 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4149, allocations: 3.938 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4149, allocations: 0 / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4151, allocations: 207.3 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4151, allocations: 0.9688 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.4151, allocations: 3.281 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4151, allocations: 0 / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.4151, allocations: 5.031 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4151, allocations: 1.062 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4151, allocations: 4 kB / 0.5369 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.4153, allocations: 111.2 kB / 0.537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.4154, allocations: 92.39 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4155, allocations: 1.125 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.4155, allocations: 6.141 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4155, allocations: 1.281 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4156, allocations: 7.5 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.4158, allocations: 205.6 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4158, allocations: 5.031 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.416, allocations: 21.62 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009977/0.417, allocations: 397.5 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.4172, allocations: 40.08 kB / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4172, allocations: 0 / 0.5377 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.4173, allocations: 23.48 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4176, allocations: 41.8 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005306/0.4181, allocations: 260.1 kB / 0.538 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.4184, allocations: 0.7179 MB / 0.5387 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.4185, allocations: 20.03 kB / 0.5387 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.4186, allocations: 13.84 kB / 0.5387 GB, free: 7.105 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4186, allocations: 4 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.004641/0.4232, allocations: 1.534 MB / 0.5402 GB, free: 6.324 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches