Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.001299, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 75.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4231, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003196/0.4264, allocations: 1.739 MB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.4282, allocations: 1.014 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.4283, allocations: 3.938 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.4286, allocations: 34.8 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.429, allocations: 100.6 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.4292, allocations: 86.38 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.4294, allocations: 102 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4295, allocations: 10.06 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.694e-05/0.4296, allocations: 48.89 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.4297, allocations: 30.17 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.4297, allocations: 3.438 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4298, allocations: 40.61 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.4299, allocations: 26 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.4299, allocations: 37.19 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4302, allocations: 129.1 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4302, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4302, allocations: 1.375 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.4302, allocations: 0 / 0.535 GB, free: 11.03 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.000555/0.4307, allocations: 411 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4308, allocations: 12.23 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.4308, allocations: 10.34 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4311, allocations: 217.2 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4311, allocations: 9.75 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.4312, allocations: 6.875 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4313, allocations: 58.03 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4314, allocations: 3.906 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4314, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4314, allocations: 1.375 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.4315, allocations: 18.98 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.4319, allocations: 294.7 kB / 0.536 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.4321, allocations: 61.92 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.4321, allocations: 17.11 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.4322, allocations: 1.375 kB / 0.5361 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.4323, allocations: 65.14 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/0.4323, allocations: 4 kB / 0.5362 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.4329, allocations: 170.5 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4329, allocations: 52.31 kB / 0.5364 GB, free: 9.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4331, allocations: 201 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4332, allocations: 26.77 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.4332, allocations: 104.6 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.4333, allocations: 31 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.4333, allocations: 21.28 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4335, allocations: 330 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.4335, allocations: 22.77 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.4336, allocations: 35.48 kB / 0.5371 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.4337, allocations: 52 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4337, allocations: 3.984 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001882/0.4339, allocations: 107.7 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.434, allocations: 4.5 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.434, allocations: 1.094 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.434, allocations: 1.156 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.4341, allocations: 24.45 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4341, allocations: 1.281 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.4341, allocations: 6.938 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4342, allocations: 6.469 kB / 0.5373 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.0001154/0.4343, allocations: 122.6 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.4343, allocations: 17.97 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.4344, allocations: 15.03 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4344, allocations: 1.219 kB / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4344, allocations: 0 / 0.5375 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4344, allocations: 7.922 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.4349, allocations: 399.1 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4349, allocations: 0 / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.4349, allocations: 11.97 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4349, allocations: 5.094 kB / 0.5379 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4349, allocations: 9.266 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.435, allocations: 1.219 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.435, allocations: 5.094 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4352, allocations: 196 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.4353, allocations: 92.2 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4353, allocations: 6.188 kB / 0.5382 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.4354, allocations: 6.188 kB / 0.5382 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4354, allocations: 7.297 kB / 0.5382 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4354, allocations: 7.5 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4356, allocations: 148.6 kB / 0.5383 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4356, allocations: 0 / 0.5383 GB, free: 7.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.4359, allocations: 24.5 kB / 0.5384 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.001062/0.4369, allocations: 467.3 kB / 0.5388 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.4371, allocations: 52.97 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4371, allocations: 1 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.4372, allocations: 33.73 kB / 0.5389 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.0003373/0.4376, allocations: 38.44 kB / 0.5389 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.4381, allocations: 259.7 kB / 0.5392 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4384, allocations: 0.7057 MB / 0.5399 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.4384, allocations: 19.39 kB / 0.5399 GB, free: 6.676 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4384, allocations: 0 / 0.5399 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Templates: time 0.00385/0.4423, allocations: 1.959 MB / 0.5418 GB, free: 5.664 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches