Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001379, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001796, allocations: 203.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, 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.226/0.226, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 72.11 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.4018, allocations: 62.44 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003368/0.4052, allocations: 1.911 MB / 0.533 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.4072, allocations: 1.132 MB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4074, allocations: 1.375 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000508/0.4079, allocations: 219.1 kB / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.4083, allocations: 218.5 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.4086, allocations: 119.1 kB / 0.5346 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.4089, allocations: 259.2 kB / 0.5348 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4091, allocations: 28.48 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.4093, allocations: 121.8 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.4095, allocations: 160.5 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4095, allocations: 8.562 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.4097, allocations: 66.64 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.4098, allocations: 62.56 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.4099, allocations: 95.33 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.4102, allocations: 236.6 kB / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4102, allocations: 0 / 0.5356 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4102, allocations: 5.344 kB / 0.5356 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4102, allocations: 0 / 0.5356 GB, free: 10.53 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.0007772/0.411, allocations: 0.5617 MB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.411, allocations: 8.688 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.4111, allocations: 30.62 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.4115, allocations: 283 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4115, allocations: 6.781 kB / 0.5365 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4115, allocations: 13.89 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.4118, allocations: 108.5 kB / 0.5366 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4118, allocations: 5.188 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4118, allocations: 9.359 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4118, allocations: 1.125 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.412, allocations: 41.06 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.4126, allocations: 486.8 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.4129, allocations: 123 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.413, allocations: 48.27 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4131, allocations: 10.48 kB / 0.5373 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.4133, allocations: 120.7 kB / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.4133, allocations: 0 / 0.5374 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001319/0.4147, allocations: 0.4949 MB / 0.5379 GB, free: 8.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.4147, allocations: 88.19 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.4152, allocations: 444.7 kB / 0.5384 GB, free: 8.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4153, allocations: 27.73 kB / 0.5384 GB, free: 8.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4154, allocations: 163 kB / 0.5386 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.4155, allocations: 69.22 kB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.4155, allocations: 46.58 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4157, allocations: 344.4 kB / 0.539 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4158, allocations: 56.81 kB / 0.539 GB, free: 7.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.416, allocations: 99.95 kB / 0.5391 GB, free: 7.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.4163, allocations: 152.3 kB / 0.5393 GB, free: 7.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4163, allocations: 1.156 kB / 0.5393 GB, free: 7.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004629/0.4168, allocations: 239.2 kB / 0.5395 GB, free: 7.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4168, allocations: 13.33 kB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4168, allocations: 1.094 kB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4169, allocations: 2.094 kB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.417, allocations: 41.89 kB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.417, allocations: 2.875 kB / 0.5396 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.4171, allocations: 19.64 kB / 0.5396 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4172, allocations: 6.688 kB / 0.5396 GB, free: 7.289 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.0001525/0.4173, allocations: 169.7 kB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.4174, allocations: 37.59 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.4175, allocations: 44.66 kB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4175, allocations: 2.969 kB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4175, allocations: 1.25 kB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4175, allocations: 0 / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.4185, allocations: 0.7439 MB / 0.5406 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4185, allocations: 1.125 kB / 0.5406 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.859e-05/0.4186, allocations: 31.89 kB / 0.5406 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4186, allocations: 2.25 kB / 0.5406 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4186, allocations: 12.64 kB / 0.5406 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4186, allocations: 1.5 kB / 0.5406 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4186, allocations: 2.875 kB / 0.5406 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.4192, allocations: 423.1 kB / 0.541 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.4192, allocations: 105.5 kB / 0.5411 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.4193, allocations: 12.06 kB / 0.5411 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4194, allocations: 7.25 kB / 0.5411 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.4195, allocations: 21.31 kB / 0.5412 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.4195, allocations: 12.91 kB / 0.5412 GB, free: 5.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003048/0.4198, allocations: 330.4 kB / 0.5415 GB, free: 5.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4198, allocations: 0 / 0.5415 GB, free: 5.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.4202, allocations: 52.86 kB / 0.5415 GB, free: 5.777 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.00112/0.4213, allocations: 0.5096 MB / 0.542 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.4217, allocations: 158.6 kB / 0.5422 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4217, allocations: 0 / 0.5422 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.4219, allocations: 79.25 kB / 0.5423 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.4225, allocations: 65.75 kB / 0.5423 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/0.4234, allocations: 0.5655 MB / 0.5429 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4238, allocations: 0.7745 MB / 0.5436 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.4239, allocations: 33.19 kB / 0.5437 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.424, allocations: 34.23 kB / 0.5437 GB, free: 4.246 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.424, allocations: 5.406 kB / 0.5437 GB, free: 4.242 MB / 398.1 MB Notification: Performance of Templates: time 0.007011/0.431, allocations: 3.241 MB / 0.5469 GB, free: 1.449 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches