Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001092, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 84.08 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5033, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003321/0.5067, allocations: 1.923 MB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.5085, allocations: 1.127 MB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.5086, allocations: 6.688 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.5091, allocations: 253.7 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.5096, allocations: 231.3 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.5098, allocations: 119.1 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.5102, allocations: 272 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.5103, allocations: 25.64 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.5105, allocations: 143.8 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.5107, allocations: 183.2 kB / 0.5352 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.5108, allocations: 8.469 kB / 0.5353 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.5109, allocations: 66.89 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.511, allocations: 64.72 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.5111, allocations: 95.7 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.5114, allocations: 259.5 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5114, allocations: 1.344 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5115, allocations: 0 / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.5115, allocations: 4 kB / 0.5357 GB, free: 10.25 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.0007563/0.5122, allocations: 0.5753 MB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5123, allocations: 9.5 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.5123, allocations: 31.75 kB / 0.5363 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.5127, allocations: 298.8 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.5128, allocations: 11.67 kB / 0.5366 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.5128, allocations: 9.438 kB / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.5131, allocations: 111.6 kB / 0.5367 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5131, allocations: 5.062 kB / 0.5367 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5131, allocations: 4 kB / 0.5367 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5131, allocations: 2.188 kB / 0.5367 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.5132, allocations: 45.72 kB / 0.5368 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.5138, allocations: 489.8 kB / 0.5373 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.5142, allocations: 125.5 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.5143, allocations: 45.52 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5143, allocations: 2.25 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.5146, allocations: 120.1 kB / 0.5375 GB, free: 8.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.5146, allocations: 1.438 kB / 0.5375 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001311/0.5159, allocations: 0.5008 MB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.516, allocations: 82.64 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006002/0.5166, allocations: 0.494 MB / 0.5386 GB, free: 7.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.5166, allocations: 32.05 kB / 0.5386 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.5168, allocations: 164.9 kB / 0.5388 GB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.5169, allocations: 77.16 kB / 0.5389 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.5169, allocations: 41.55 kB / 0.5389 GB, free: 7.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5171, allocations: 349.8 kB / 0.5392 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.5173, allocations: 65.12 kB / 0.5393 GB, free: 7.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.5174, allocations: 95.56 kB / 0.5394 GB, free: 7.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.5178, allocations: 157.3 kB / 0.5395 GB, free: 7.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5178, allocations: 0 / 0.5395 GB, free: 7.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004592/0.5182, allocations: 235.8 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5183, allocations: 9.5 kB / 0.5398 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5183, allocations: 5.062 kB / 0.5398 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5183, allocations: 2.312 kB / 0.5398 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5185, allocations: 45.69 kB / 0.5398 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5185, allocations: 2.656 kB / 0.5398 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.5186, allocations: 12 kB / 0.5398 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.5186, allocations: 10.94 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.0002012/0.5188, allocations: 176.9 kB / 0.54 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.5189, allocations: 36 kB / 0.54 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.519, allocations: 47.25 kB / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.519, allocations: 2.562 kB / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.519, allocations: 0 / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.519, allocations: 1.594 kB / 0.5401 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.52, allocations: 0.7426 MB / 0.5408 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.5201, allocations: 5.234 kB / 0.5408 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.5202, allocations: 23.25 kB / 0.5408 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.5202, allocations: 3.875 kB / 0.5408 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5202, allocations: 11.05 kB / 0.5409 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.5202, allocations: 3.938 kB / 0.5409 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5202, allocations: 5.969 kB / 0.5409 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.5207, allocations: 427.6 kB / 0.5413 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.5208, allocations: 101.4 kB / 0.5414 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.5209, allocations: 8.375 kB / 0.5414 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.521, allocations: 15.8 kB / 0.5414 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.5211, allocations: 26.02 kB / 0.5414 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.5211, allocations: 8.5 kB / 0.5414 GB, free: 5.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003608/0.5215, allocations: 377 kB / 0.5418 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5215, allocations: 0 / 0.5418 GB, free: 5.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000348/0.5218, allocations: 49.94 kB / 0.5418 GB, free: 5.418 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.001169/0.523, allocations: 0.5209 MB / 0.5423 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.5234, allocations: 154.3 kB / 0.5425 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5234, allocations: 1.188 kB / 0.5425 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.5235, allocations: 86.66 kB / 0.5426 GB, free: 5.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.5241, allocations: 55.8 kB / 0.5426 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.5251, allocations: 0.5971 MB / 0.5432 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.5254, allocations: 0.7876 MB / 0.544 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.939e-05/0.5256, allocations: 37.19 kB / 0.544 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.5256, allocations: 33.02 kB / 0.544 GB, free: 3.852 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.5256, allocations: 1.156 kB / 0.544 GB, free: 3.852 MB / 398.1 MB Notification: Performance of Templates: time 0.006579/0.5322, allocations: 3.261 MB / 0.5472 GB, free: 0.9219 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches