Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001382, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 482.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4307, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004115/0.4349, allocations: 1.745 MB / 0.5335 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4368, allocations: 1.03 MB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.4369, allocations: 5.688 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.4373, allocations: 52.47 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.4376, allocations: 95.97 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.4378, allocations: 80.3 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.4381, allocations: 128.9 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4382, allocations: 20.23 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.4383, allocations: 56.39 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.4384, allocations: 51.02 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.4384, allocations: 9.438 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4386, allocations: 61.22 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.4386, allocations: 29.48 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.4387, allocations: 41.36 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.4389, allocations: 151.6 kB / 0.5352 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.439, allocations: 3.984 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.439, allocations: 0 / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.439, allocations: 1.375 kB / 0.5352 GB, free: 10.91 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005817/0.4396, allocations: 432.4 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4396, allocations: 9.625 kB / 0.5356 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.4397, allocations: 18.23 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.44, allocations: 228.7 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.44, allocations: 1.75 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.44, allocations: 8.25 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4402, allocations: 74.22 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4403, allocations: 4 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4403, allocations: 7.984 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4403, allocations: 1.375 kB / 0.536 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.4404, allocations: 39.91 kB / 0.536 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.4409, allocations: 323.1 kB / 0.5363 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.4412, allocations: 84.95 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.4413, allocations: 34.66 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.4413, allocations: 2.188 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.4415, allocations: 83.44 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4415, allocations: 0 / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008899/0.4424, allocations: 298.5 kB / 0.5368 GB, free: 9.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4425, allocations: 61.34 kB / 0.5369 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4427, allocations: 198.6 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4427, allocations: 30.86 kB / 0.5371 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.4428, allocations: 105.8 kB / 0.5372 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.4428, allocations: 42.89 kB / 0.5372 GB, free: 9.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.4429, allocations: 31.89 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.443, allocations: 322.2 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.4431, allocations: 39.33 kB / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4432, allocations: 64.91 kB / 0.5377 GB, free: 8.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4434, allocations: 94.08 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.4434, allocations: 1.094 kB / 0.5377 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002748/0.4437, allocations: 152.6 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4437, allocations: 5.812 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4438, allocations: 1 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.4438, allocations: 1.188 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.4439, allocations: 32.08 kB / 0.5379 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4439, allocations: 5.156 kB / 0.5379 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.4439, allocations: 6.656 kB / 0.5379 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.444, allocations: 4.156 kB / 0.5379 GB, free: 8.531 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 (15): * Single equations (assignments): 15 * 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.0001128/0.4441, allocations: 127.8 kB / 0.5381 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.4441, allocations: 15.47 kB / 0.5381 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4442, allocations: 23.11 kB / 0.5381 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4442, allocations: 1.906 kB / 0.5381 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4442, allocations: 5.531 kB / 0.5381 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4442, allocations: 4 kB / 0.5381 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.4448, allocations: 491.8 kB / 0.5386 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4448, allocations: 1.219 kB / 0.5386 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.4449, allocations: 14.25 kB / 0.5386 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.4449, allocations: 2.094 kB / 0.5386 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4449, allocations: 10.33 kB / 0.5386 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4449, allocations: 1.312 kB / 0.5386 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4449, allocations: 5.906 kB / 0.5386 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.4453, allocations: 260 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.4453, allocations: 92.91 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4454, allocations: 2.75 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.4454, allocations: 6.719 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4455, allocations: 12.52 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4455, allocations: 17.61 kB / 0.539 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.4457, allocations: 148.2 kB / 0.5391 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4457, allocations: 0 / 0.5391 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.446, allocations: 34.48 kB / 0.5392 GB, free: 7.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00122/0.4472, allocations: 0.4975 MB / 0.5396 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.4475, allocations: 107.7 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4475, allocations: 1.156 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4476, allocations: 53 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.448, allocations: 34.47 kB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.4486, allocations: 302.7 kB / 0.5401 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.4489, allocations: 0.7192 MB / 0.5408 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.4489, allocations: 23.61 kB / 0.5408 GB, free: 6.148 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.449, allocations: 0.8438 kB / 0.5408 GB, free: 6.148 MB / 398.1 MB Notification: Performance of Templates: time 0.00527/0.4542, allocations: 2.409 MB / 0.5432 GB, free: 4.914 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches