Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001122, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 198 kB / 18.73 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.418/1.418, 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.2341/0.2341, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.89 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5007, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004665/0.5054, allocations: 1.738 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.5077, allocations: 1.018 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.5078, allocations: 0 / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.5082, allocations: 38.77 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.5085, allocations: 103 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.5087, allocations: 80.3 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.5089, allocations: 104.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.5091, allocations: 6.875 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.5092, allocations: 42.91 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.5093, allocations: 38.78 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.5093, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.5094, allocations: 39.48 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.5095, allocations: 26.73 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.5095, allocations: 35.98 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.5098, allocations: 122.7 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5098, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5098, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.5098, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005557/0.5104, allocations: 424.8 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5104, allocations: 9.625 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.5105, allocations: 10.39 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.5108, allocations: 225.3 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5108, allocations: 5.734 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.5108, allocations: 5.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.511, allocations: 54.05 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.511, allocations: 1.281 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.511, allocations: 0 / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.511, allocations: 1.344 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.5111, allocations: 21.58 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.5115, allocations: 287 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.5117, allocations: 62.61 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.5118, allocations: 18.02 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5118, allocations: 3.984 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.5119, allocations: 69.77 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.512, allocations: 0 / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005636/0.5125, allocations: 178.3 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5126, allocations: 52.66 kB / 0.5357 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.5128, allocations: 196.5 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5128, allocations: 26.8 kB / 0.536 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5129, allocations: 105.7 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.5129, allocations: 27.16 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.513, allocations: 28.5 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5131, allocations: 330.2 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.5132, allocations: 19.67 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.5132, allocations: 38.98 kB / 0.5365 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.5134, allocations: 55.22 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5134, allocations: 0 / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.5136, allocations: 116 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5136, allocations: 4.688 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5136, allocations: 1.125 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5136, allocations: 1.188 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.5137, allocations: 20.48 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5138, allocations: 5.094 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.5138, allocations: 6.312 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5138, allocations: 3.406 kB / 0.5367 GB, free: 8.871 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 (10): * Single equations (assignments): 10 * 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.0001251/0.5139, allocations: 131 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.514, allocations: 13.53 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.514, allocations: 13.75 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.514, allocations: 1.031 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5141, allocations: 0.9688 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5141, allocations: 3.938 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.5145, allocations: 399.5 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.5145, allocations: 0 / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.5146, allocations: 11.75 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5146, allocations: 1.469 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5146, allocations: 5.188 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5146, allocations: 1.156 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5146, allocations: 5.203 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.5149, allocations: 200.9 kB / 0.5374 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.5149, allocations: 91.81 kB / 0.5375 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.515, allocations: 12.94 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.515, allocations: 2.031 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.5151, allocations: 7.297 kB / 0.5375 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.5151, allocations: 3.156 kB / 0.5376 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.5153, allocations: 152.8 kB / 0.5377 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5153, allocations: 1.406 kB / 0.5377 GB, free: 7.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.5155, allocations: 24.28 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001129/0.5167, allocations: 461.6 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.5169, allocations: 62.03 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5169, allocations: 0 / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.517, allocations: 33.45 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.5173, allocations: 32.03 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.5178, allocations: 235.2 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.5181, allocations: 0.7029 MB / 0.5392 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.5182, allocations: 21.7 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.5182, allocations: 15.97 kB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5182, allocations: 0 / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Templates: time 0.005097/0.5233, allocations: 1.732 MB / 0.5409 GB, free: 5.816 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches