Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001651/0.001651, allocations: 122.8 kB / 17.79 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.001894/0.001895, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2486/0.2486, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 84.09 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4847, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003946/0.4887, allocations: 1.926 MB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.4911, allocations: 1.124 MB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.4913, allocations: 2.281 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.4921, allocations: 254.7 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.4929, allocations: 239.2 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.4934, allocations: 115.1 kB / 0.5347 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.4938, allocations: 268.6 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.4941, allocations: 33.03 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.4943, allocations: 144.1 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.4946, allocations: 183.7 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.4947, allocations: 8.438 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.495, allocations: 67.11 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.4951, allocations: 64.77 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4953, allocations: 99.5 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.4957, allocations: 255.9 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4957, allocations: 0 / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4958, allocations: 0 / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4958, allocations: 1.188 kB / 0.5357 GB, free: 10.26 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001036/0.4968, allocations: 0.5799 MB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4969, allocations: 9.344 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.497, allocations: 31.06 kB / 0.5363 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.4975, allocations: 306.5 kB / 0.5366 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4976, allocations: 3.531 kB / 0.5366 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.4976, allocations: 13.62 kB / 0.5366 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.4979, allocations: 104.9 kB / 0.5367 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4979, allocations: 9.438 kB / 0.5367 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.498, allocations: 0 / 0.5367 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.498, allocations: 2.469 kB / 0.5368 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4981, allocations: 52.66 kB / 0.5368 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.4988, allocations: 481.7 kB / 0.5373 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.4992, allocations: 131.4 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.4993, allocations: 44.36 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.4994, allocations: 2.531 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.4996, allocations: 115.9 kB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4996, allocations: 5.531 kB / 0.5375 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001538/0.5012, allocations: 0.5009 MB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.5013, allocations: 83.58 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.5021, allocations: 496.7 kB / 0.5386 GB, free: 7.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.5021, allocations: 32.52 kB / 0.5386 GB, free: 7.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.5023, allocations: 168.9 kB / 0.5388 GB, free: 7.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.5024, allocations: 77.08 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.5025, allocations: 46.55 kB / 0.5389 GB, free: 7.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5026, allocations: 344.8 kB / 0.5392 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5028, allocations: 57.88 kB / 0.5393 GB, free: 7.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.503, allocations: 95.38 kB / 0.5394 GB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.5033, allocations: 164.9 kB / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5033, allocations: 0 / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004356/0.5037, allocations: 232.8 kB / 0.5398 GB, free: 6.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5038, allocations: 8.375 kB / 0.5398 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5038, allocations: 1.438 kB / 0.5398 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5038, allocations: 2.719 kB / 0.5398 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.504, allocations: 54.12 kB / 0.5398 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.504, allocations: 5.656 kB / 0.5398 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.5041, allocations: 12.41 kB / 0.5398 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.5041, allocations: 10.84 kB / 0.5398 GB, free: 6.953 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001912/0.5043, allocations: 169.4 kB / 0.54 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.5044, allocations: 39.17 kB / 0.54 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.687e-05/0.5045, allocations: 49.94 kB / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5045, allocations: 2.75 kB / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5045, allocations: 0 / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5045, allocations: 5.219 kB / 0.5401 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5056, allocations: 0.7392 MB / 0.5408 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5056, allocations: 1.156 kB / 0.5408 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.5057, allocations: 27.47 kB / 0.5408 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5057, allocations: 7.469 kB / 0.5409 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.5058, allocations: 8.578 kB / 0.5409 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.5058, allocations: 6.281 kB / 0.5409 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5058, allocations: 1.031 kB / 0.5409 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.5063, allocations: 432.9 kB / 0.5413 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.5064, allocations: 101.5 kB / 0.5414 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.5065, allocations: 7.719 kB / 0.5414 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.5066, allocations: 12.61 kB / 0.5414 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.5067, allocations: 20.98 kB / 0.5414 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.5068, allocations: 8.844 kB / 0.5414 GB, free: 5.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.5073, allocations: 381.5 kB / 0.5418 GB, free: 5.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5073, allocations: 0 / 0.5418 GB, free: 5.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.5077, allocations: 48.59 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001389/0.5091, allocations: 0.5165 MB / 0.5423 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.5095, allocations: 158.5 kB / 0.5425 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5096, allocations: 1.156 kB / 0.5425 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.5098, allocations: 82.25 kB / 0.5426 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.5104, allocations: 52.97 kB / 0.5426 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5118, allocations: 0.6003 MB / 0.5432 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.5122, allocations: 0.7795 MB / 0.544 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.5124, allocations: 44.88 kB / 0.544 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.5125, allocations: 29.66 kB / 0.544 GB, free: 3.859 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5125, allocations: 1.219 kB / 0.544 GB, free: 3.859 MB / 398.1 MB Notification: Performance of Templates: time 0.007329/0.5198, allocations: 3.203 MB / 0.5472 GB, free: 0.9883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches