Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 118.8 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.001213, 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.43/1.43, 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.2972/0.2972, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 75.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5084, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003536/0.512, allocations: 1.691 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.5143, allocations: 1.002 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.5143, allocations: 1.812 kB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.5147, allocations: 66.47 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.5151, allocations: 105.6 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.5153, allocations: 73.14 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.5155, allocations: 106.7 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.5156, allocations: 8.797 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.5157, allocations: 47.31 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.5158, allocations: 45.55 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5158, allocations: 2.75 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.5159, allocations: 32.61 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.516, allocations: 18.8 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.5161, allocations: 34.61 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.5163, allocations: 110 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5163, allocations: 3.938 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5163, allocations: 4 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.5164, allocations: 0 / 0.5343 GB, free: 11.08 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.0006516/0.517, allocations: 413.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5171, allocations: 9.625 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.5171, allocations: 12.97 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.5175, allocations: 209.3 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5175, allocations: 1.75 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.5175, allocations: 5.5 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5177, allocations: 51.3 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5177, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.5177, allocations: 4 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5177, allocations: 1.375 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.5178, allocations: 12.19 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.5181, allocations: 187.4 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.5183, allocations: 51.17 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.5183, allocations: 27.66 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.5184, allocations: 1.375 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.5185, allocations: 72.98 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.5185, allocations: 0 / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003175/0.5189, allocations: 94.7 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.5189, allocations: 52.78 kB / 0.5355 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.5193, allocations: 196.7 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5193, allocations: 25.7 kB / 0.5357 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.5194, allocations: 105.7 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.5194, allocations: 18 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.5195, allocations: 22.27 kB / 0.5358 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003321/0.5198, allocations: 327.1 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.5199, allocations: 15.58 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.5199, allocations: 35.36 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.52, allocations: 42.83 kB / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.52, allocations: 0.9688 kB / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.5203, allocations: 83.62 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.5203, allocations: 4.438 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5203, allocations: 1.25 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5203, allocations: 5.219 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.866e-05/0.5204, allocations: 12.09 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.5204, allocations: 1.688 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.5205, allocations: 6.891 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5205, allocations: 1.125 kB / 0.5363 GB, free: 9.105 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.0001318/0.5206, allocations: 127.3 kB / 0.5365 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.5206, allocations: 13 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.5207, allocations: 21.27 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5207, allocations: 0 / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5207, allocations: 1.094 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5207, allocations: 4 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.521, allocations: 193 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5211, allocations: 1 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.5211, allocations: 3.219 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.5211, allocations: 0 / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5211, allocations: 1.406 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5211, allocations: 0.875 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5211, allocations: 5.125 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.5213, allocations: 112.9 kB / 0.5368 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.5214, allocations: 83.67 kB / 0.5369 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5214, allocations: 1.281 kB / 0.5369 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.5215, allocations: 6.297 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.5215, allocations: 2.156 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.5215, allocations: 2.219 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.5217, allocations: 152.2 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5217, allocations: 0 / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.5219, allocations: 24.59 kB / 0.5371 GB, free: 8.402 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.001094/0.523, allocations: 413.8 kB / 0.5375 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5232, allocations: 43.81 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5232, allocations: 0 / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.5233, allocations: 19.38 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.5236, allocations: 42.78 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.5243, allocations: 194.1 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.5248, allocations: 0.7049 MB / 0.5384 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.5249, allocations: 19.77 kB / 0.5384 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.5249, allocations: 13.84 kB / 0.5385 GB, free: 7.246 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5249, allocations: 0 / 0.5385 GB, free: 7.246 MB / 398.1 MB Notification: Performance of Templates: time 0.005078/0.53, allocations: 1.532 MB / 0.54 GB, free: 6.461 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches