Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 75.88 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5028, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003531/0.5064, allocations: 1.687 MB / 0.5327 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.5083, allocations: 1.001 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.5084, allocations: 1.375 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.5089, allocations: 79.45 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.5093, allocations: 127.4 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.5096, allocations: 69.56 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.5099, allocations: 110.4 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.51, allocations: 8.344 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.5102, allocations: 48.41 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.5104, allocations: 51.33 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.5104, allocations: 2.75 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.5106, allocations: 36.61 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.5107, allocations: 28.09 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.5108, allocations: 43.92 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.5111, allocations: 108 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5111, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5112, allocations: 3.938 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.5112, allocations: 0 / 0.5344 GB, free: 11.05 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.0008034/0.512, allocations: 426.2 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.512, allocations: 9.625 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.5121, allocations: 12.97 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.5125, allocations: 225.9 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5126, allocations: 384 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.5126, allocations: 6.875 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.5128, allocations: 51.3 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5128, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5128, allocations: 0 / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.5129, allocations: 1.375 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.5129, allocations: 16.08 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.5133, allocations: 180.2 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5135, allocations: 58.92 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.5136, allocations: 21.39 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.5136, allocations: 1.125 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.5138, allocations: 68.44 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.5138, allocations: 0 / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003644/0.5142, allocations: 104 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.5143, allocations: 52.81 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.5146, allocations: 220.8 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.5146, allocations: 26.83 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.5147, allocations: 102.4 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.5147, allocations: 17.28 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.5148, allocations: 19.03 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.515, allocations: 326.8 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.5151, allocations: 15.98 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.5152, allocations: 27.81 kB / 0.5363 GB, free: 9.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.5153, allocations: 50.77 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5153, allocations: 1.125 kB / 0.5363 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000197/0.5155, allocations: 83.28 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5156, allocations: 13.33 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5156, allocations: 1.062 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.5156, allocations: 1.156 kB / 0.5364 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.5157, allocations: 13.25 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5157, allocations: 0 / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/0.5158, allocations: 7.219 kB / 0.5364 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5158, allocations: 2.219 kB / 0.5364 GB, free: 9.043 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.0001347/0.5159, allocations: 132.6 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.516, allocations: 17.5 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.516, allocations: 21.45 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.516, allocations: 5.031 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.516, allocations: 1.219 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5161, allocations: 0 / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.5163, allocations: 190.6 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5163, allocations: 1.125 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.5163, allocations: 3.406 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5163, allocations: 0 / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5163, allocations: 1.219 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5163, allocations: 1.188 kB / 0.5368 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5163, allocations: 4 kB / 0.5368 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.5166, allocations: 122.6 kB / 0.5369 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.5166, allocations: 83.34 kB / 0.537 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.5167, allocations: 1.156 kB / 0.537 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.5167, allocations: 6.234 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.5168, allocations: 6.438 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.5168, allocations: 6.375 kB / 0.537 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.517, allocations: 167.9 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.517, allocations: 0 / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.5172, allocations: 22.05 kB / 0.5372 GB, free: 8.32 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.001208/0.5184, allocations: 404.4 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5187, allocations: 44.2 kB / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5187, allocations: 0 / 0.5376 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.362e-05/0.5188, allocations: 19.73 kB / 0.5376 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.5191, allocations: 41.41 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.5198, allocations: 216 kB / 0.5379 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.5202, allocations: 0.7048 MB / 0.5386 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.5203, allocations: 20.38 kB / 0.5386 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.5203, allocations: 14.16 kB / 0.5386 GB, free: 7.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.204e-06/0.5204, allocations: 0 / 0.5386 GB, free: 7.16 MB / 398.1 MB Notification: Performance of Templates: time 0.007235/0.5276, allocations: 1.525 MB / 0.5401 GB, free: 6.383 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches