Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001454, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2611/0.2611, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 71.89 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4077, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003336/0.411, allocations: 1.604 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4129, allocations: 1.157 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.413, allocations: 0 / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.4132, allocations: 17.36 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.4135, allocations: 85.73 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.4138, allocations: 98.38 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.4139, allocations: 65.95 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.414, allocations: 14.88 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.869e-05/0.4141, allocations: 29.47 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.4142, allocations: 30.86 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.4142, allocations: 4.125 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.4144, allocations: 102.7 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.4144, allocations: 16.05 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.4145, allocations: 19.98 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.4147, allocations: 138.5 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4147, allocations: 4 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4147, allocations: 1.375 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4148, allocations: 0 / 0.5343 GB, free: 11.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006189/0.4154, allocations: 399.7 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4154, allocations: 9.625 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.4155, allocations: 7.594 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.4157, allocations: 195.6 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.4157, allocations: 384 / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4157, allocations: 7.125 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.4159, allocations: 67.89 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.416, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.416, allocations: 1.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.416, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.4161, allocations: 25.67 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.4165, allocations: 282.5 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.4167, allocations: 44.19 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.4168, allocations: 15.39 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4168, allocations: 3.938 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.4168, allocations: 31.81 kB / 0.5353 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4169, allocations: 0 / 0.5353 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005677/0.4174, allocations: 146.1 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.4175, allocations: 78.39 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.4176, allocations: 141.4 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4177, allocations: 27.23 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.4177, allocations: 94.56 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.4177, allocations: 21.91 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.4178, allocations: 22.44 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4179, allocations: 320.4 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.418, allocations: 19.02 kB / 0.5362 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.4181, allocations: 29.83 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4182, allocations: 52.3 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4182, allocations: 1.125 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001855/0.4184, allocations: 88.56 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4185, allocations: 10.64 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4185, allocations: 1.062 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4185, allocations: 0 / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.4186, allocations: 10.16 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4186, allocations: 0 / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.4186, allocations: 11.39 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4186, allocations: 10.28 kB / 0.5364 GB, free: 9.008 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 (5): * Single equations (assignments): 5 * 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 8.289e-05/0.4187, allocations: 117.5 kB / 0.5365 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.4188, allocations: 3.281 kB / 0.5365 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.419, allocations: 93.19 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.419, allocations: 1.25 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.419, allocations: 3.984 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.419, allocations: 0 / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.4195, allocations: 354.1 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4195, allocations: 1.219 kB / 0.5369 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.085e-05/0.4196, allocations: 13.7 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4196, allocations: 7.875 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4196, allocations: 1.094 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4196, allocations: 3.938 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4196, allocations: 1.312 kB / 0.537 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.4198, allocations: 183.5 kB / 0.5371 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.4199, allocations: 83.42 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4199, allocations: 1.062 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.42, allocations: 7.219 kB / 0.5372 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.42, allocations: 6.078 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.42, allocations: 0.9375 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.106e-05/0.4201, allocations: 110 kB / 0.5373 GB, free: 8.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4201, allocations: 1.125 kB / 0.5373 GB, free: 8.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.4204, allocations: 47.39 kB / 0.5374 GB, free: 8.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001135/0.4216, allocations: 497.5 kB / 0.5378 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4218, allocations: 48.62 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4218, allocations: 0 / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.4219, allocations: 24.14 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.4222, allocations: 27.48 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.4226, allocations: 174.6 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.4232, allocations: 0.6896 MB / 0.5388 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.4232, allocations: 10.53 kB / 0.5388 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.4233, allocations: 18.2 kB / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4233, allocations: 0 / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Templates: time 0.004626/0.4279, allocations: 1.767 MB / 0.5405 GB, free: 5.961 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches