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.00156/0.00156, allocations: 114.9 kB / 17.78 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.001932/0.001931, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, 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.2533/0.2533, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 75.88 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5051, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003025/0.5082, allocations: 1.684 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.51, allocations: 1.002 MB / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.5101, allocations: 0 / 0.5337 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.5104, allocations: 63.16 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.5108, allocations: 105.9 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.511, allocations: 77.53 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.5112, allocations: 107.7 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.5112, allocations: 4.359 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.5113, allocations: 47.03 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.5115, allocations: 48.45 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.5115, allocations: 6.688 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.5116, allocations: 28.61 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.5117, allocations: 18.8 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.5117, allocations: 38.55 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.5119, allocations: 106.6 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.512, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.512, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.512, allocations: 0 / 0.5343 GB, free: 11.09 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.0006034/0.5126, allocations: 419.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5126, allocations: 9.625 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.5127, allocations: 16.95 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.513, allocations: 209.4 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.513, allocations: 5.734 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.513, allocations: 13.5 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5132, allocations: 47.25 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.5132, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5132, allocations: 3.984 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5132, allocations: 5.375 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.5133, allocations: 16.23 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.5135, allocations: 183.4 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.5137, allocations: 51.17 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.5138, allocations: 28.97 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.5138, allocations: 4 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.5139, allocations: 64.2 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.5139, allocations: 1.094 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003012/0.5143, allocations: 91.19 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.5143, allocations: 56.47 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.5145, allocations: 195.4 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.5146, allocations: 26.86 kB / 0.5357 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.5146, allocations: 105.4 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.5147, allocations: 18.09 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.5147, allocations: 19.56 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5148, allocations: 321.3 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.5149, allocations: 16.42 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.515, allocations: 31 kB / 0.5362 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.782e-05/0.5151, allocations: 43.72 kB / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5151, allocations: 0 / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.5152, allocations: 91.36 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5153, allocations: 5.5 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5153, allocations: 5.062 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5153, allocations: 1.094 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.5154, allocations: 9 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5154, allocations: 3.938 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.5155, allocations: 18.33 kB / 0.5364 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5155, allocations: 6.531 kB / 0.5364 GB, free: 9.082 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.0001039/0.5156, allocations: 122.5 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.5156, allocations: 9.703 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.5157, allocations: 17.42 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5157, allocations: 1.188 kB / 0.5365 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5157, allocations: 4 kB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5157, allocations: 0 / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.5159, allocations: 193.6 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5159, allocations: 0 / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.5159, allocations: 7.344 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5159, allocations: 1.219 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.5159, allocations: 1.156 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5159, allocations: 0 / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5159, allocations: 0 / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.5161, allocations: 114 kB / 0.5368 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.5162, allocations: 83.31 kB / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.5162, allocations: 2.25 kB / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.5162, allocations: 9.172 kB / 0.5369 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.5163, allocations: 2.25 kB / 0.5369 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5163, allocations: 6.25 kB / 0.5369 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.5164, allocations: 148.6 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5164, allocations: 0 / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000206/0.5167, allocations: 16.62 kB / 0.5371 GB, free: 8.395 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.001001/0.5177, allocations: 408 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.5179, allocations: 51.59 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5179, allocations: 0 / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/0.5179, allocations: 19.83 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.5182, allocations: 36.12 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.5186, allocations: 197.7 kB / 0.5378 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.5189, allocations: 0.705 MB / 0.5384 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.122e-05/0.519, allocations: 16.41 kB / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.519, allocations: 17.27 kB / 0.5385 GB, free: 7.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5191, allocations: 0 / 0.5385 GB, free: 7.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005245/0.5243, allocations: 1.504 MB / 0.5399 GB, free: 6.469 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