Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001748/0.001749, allocations: 202 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.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 72.09 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4951, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003052/0.4982, allocations: 1.623 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.4993, allocations: 0.5431 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.4994, allocations: 5.188 kB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.4998, allocations: 94.55 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.5002, allocations: 106.5 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.5005, allocations: 122.5 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.5007, allocations: 88.88 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.5009, allocations: 13.62 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.501, allocations: 36.39 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.5011, allocations: 55.31 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.5011, allocations: 4.125 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.5013, allocations: 44.86 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.5013, allocations: 20.17 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.5014, allocations: 42.55 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.5016, allocations: 107.5 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5016, allocations: 0 / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.5016, allocations: 0 / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.5017, allocations: 3.938 kB / 0.5338 GB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006292/0.5023, allocations: 420.2 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5023, allocations: 9.625 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.5024, allocations: 12.88 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.5026, allocations: 201.9 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.5026, allocations: 5.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5026, allocations: 1.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.5028, allocations: 63.48 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5028, allocations: 1.375 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5029, allocations: 0 / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5029, allocations: 1.375 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.503, allocations: 27.09 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.5034, allocations: 313.7 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.5035, allocations: 48.48 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.5036, allocations: 16.05 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.5036, allocations: 1.5 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5036, allocations: 30.56 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5036, allocations: 5.562 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009083/0.5046, allocations: 238.2 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.5046, allocations: 52.53 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.5048, allocations: 237.8 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.5049, allocations: 30.7 kB / 0.5355 GB, free: 9.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.5049, allocations: 109.8 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.505, allocations: 31.12 kB / 0.5356 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.505, allocations: 23.61 kB / 0.5356 GB, free: 9.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5051, allocations: 327.3 kB / 0.536 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.5052, allocations: 28.61 kB / 0.536 GB, free: 9.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/0.5053, allocations: 32.72 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5055, allocations: 78.2 kB / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5055, allocations: 0 / 0.5361 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000224/0.5057, allocations: 105.1 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5057, allocations: 9.703 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5058, allocations: 0 / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5058, allocations: 1.062 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.5059, allocations: 22.69 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5059, allocations: 4 kB / 0.5362 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.5059, allocations: 15 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.506, allocations: 2 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.626e-05/0.5061, allocations: 128.7 kB / 0.5364 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.5061, allocations: 17.28 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.5064, allocations: 134 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5064, allocations: 9.078 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5064, allocations: 4.938 kB / 0.5365 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5065, allocations: 3.938 kB / 0.5365 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.507, allocations: 420.9 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.507, allocations: 1.188 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.5071, allocations: 18.36 kB / 0.5369 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5071, allocations: 3.938 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5071, allocations: 6.469 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5071, allocations: 0 / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5071, allocations: 1.438 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.5074, allocations: 217 kB / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.5075, allocations: 92.23 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.5075, allocations: 1.125 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.5076, allocations: 7.875 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.5076, allocations: 10.52 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.5076, allocations: 6.469 kB / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.5078, allocations: 182.3 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5078, allocations: 0 / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000252/0.508, allocations: 23.91 kB / 0.5375 GB, free: 8.223 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009821/0.509, allocations: 449.2 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.5093, allocations: 75.55 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5093, allocations: 0 / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.5094, allocations: 44.88 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.5097, allocations: 36.36 kB / 0.538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.5103, allocations: 276.9 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.5106, allocations: 0.7105 MB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.739e-05/0.5106, allocations: 24.69 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.5107, allocations: 20.86 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5107, allocations: 1.188 kB / 0.5391 GB, free: 6.977 MB / 398.1 MB Notification: Performance of Templates: time 0.004289/0.515, allocations: 1.411 MB / 0.5404 GB, free: 6.254 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches