Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 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.2507/0.2507, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 72.11 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4802, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003851/0.4841, allocations: 1.921 MB / 0.533 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.4863, allocations: 1.123 MB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.4865, allocations: 1.375 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.487, allocations: 222.6 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.4876, allocations: 223.3 kB / 0.5345 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.488, allocations: 118.8 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.4883, allocations: 260.4 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4885, allocations: 27.92 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.4887, allocations: 125.6 kB / 0.535 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.489, allocations: 157.5 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.489, allocations: 8.031 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.4892, allocations: 64.08 kB / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.4893, allocations: 65.34 kB / 0.5353 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4894, allocations: 91.36 kB / 0.5354 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.4898, allocations: 234.1 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4898, allocations: 1.188 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4898, allocations: 0 / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.4898, allocations: 4 kB / 0.5356 GB, free: 10.27 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.0009038/0.4908, allocations: 0.5643 MB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4908, allocations: 9.156 kB / 0.5362 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.4909, allocations: 25.97 kB / 0.5362 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.4914, allocations: 291.8 kB / 0.5365 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4914, allocations: 3.375 kB / 0.5365 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.4915, allocations: 12.78 kB / 0.5365 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.4918, allocations: 111.8 kB / 0.5366 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4918, allocations: 0 / 0.5366 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4918, allocations: 9.328 kB / 0.5366 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.4918, allocations: 1.406 kB / 0.5366 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.492, allocations: 40.97 kB / 0.5366 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.4926, allocations: 482.7 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.4931, allocations: 130.7 kB / 0.5372 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.4932, allocations: 45.7 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4932, allocations: 4.875 kB / 0.5373 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.4935, allocations: 132.2 kB / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.636e-06/0.4935, allocations: 1.094 kB / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001417/0.495, allocations: 498.4 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.495, allocations: 88.22 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.4956, allocations: 445.4 kB / 0.5384 GB, free: 7.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.4956, allocations: 31.42 kB / 0.5384 GB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4957, allocations: 159.6 kB / 0.5386 GB, free: 7.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.4958, allocations: 78.02 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.4959, allocations: 41.08 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4961, allocations: 344.9 kB / 0.539 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.4962, allocations: 57.41 kB / 0.5391 GB, free: 7.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.4964, allocations: 100.2 kB / 0.5391 GB, free: 7.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.4967, allocations: 156 kB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.4967, allocations: 1.094 kB / 0.5393 GB, free: 7.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000465/0.4971, allocations: 234 kB / 0.5395 GB, free: 7.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4972, allocations: 13.73 kB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4972, allocations: 1.188 kB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4972, allocations: 2.312 kB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4974, allocations: 46.61 kB / 0.5396 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4974, allocations: 5.125 kB / 0.5396 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.4975, allocations: 8.531 kB / 0.5396 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.4975, allocations: 14.75 kB / 0.5396 GB, free: 7.02 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.0001815/0.4977, allocations: 169.5 kB / 0.5398 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.4978, allocations: 38.47 kB / 0.5398 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.4979, allocations: 43.31 kB / 0.5398 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4979, allocations: 2.812 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4979, allocations: 1.438 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4979, allocations: 0 / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009959/0.4989, allocations: 0.7315 MB / 0.5406 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4989, allocations: 5.406 kB / 0.5406 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.499, allocations: 32.08 kB / 0.5406 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.499, allocations: 6.094 kB / 0.5406 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4991, allocations: 8.375 kB / 0.5406 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.4991, allocations: 6.109 kB / 0.5406 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4991, allocations: 2.125 kB / 0.5406 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.4996, allocations: 420.9 kB / 0.541 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.4997, allocations: 106 kB / 0.5411 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.4997, allocations: 7.094 kB / 0.5411 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4999, allocations: 13 kB / 0.5411 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.4999, allocations: 21.09 kB / 0.5412 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.5, allocations: 12.09 kB / 0.5412 GB, free: 5.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003781/0.5004, allocations: 336 kB / 0.5415 GB, free: 5.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5004, allocations: 0 / 0.5415 GB, free: 5.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.5008, allocations: 51.45 kB / 0.5415 GB, free: 5.508 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.001363/0.5021, allocations: 0.5012 MB / 0.542 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.5026, allocations: 169.8 kB / 0.5422 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5026, allocations: 0.9688 kB / 0.5422 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5028, allocations: 79.09 kB / 0.5423 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.5034, allocations: 65.39 kB / 0.5423 GB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5045, allocations: 0.5538 MB / 0.5429 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.5051, allocations: 0.779 MB / 0.5436 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.5052, allocations: 36.2 kB / 0.5437 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.5053, allocations: 34.83 kB / 0.5437 GB, free: 3.977 MB / 398.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5053, allocations: 4 kB / 0.5437 GB, free: 3.973 MB / 398.1 MB Notification: Performance of Templates: time 0.007684/0.513, allocations: 3.173 MB / 0.5468 GB, free: 1.312 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches