Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001426, allocations: 203.9 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.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 80.38 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4044, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.004171/0.4087, allocations: 1.653 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.41, allocations: 0.5602 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.651e-05/0.4101, allocations: 1.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.4104, allocations: 33.41 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.4108, allocations: 81.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.4112, allocations: 115.4 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.4114, allocations: 88.88 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.4116, allocations: 33.72 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.4117, allocations: 32.23 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.4119, allocations: 41.58 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.4119, allocations: 5.5 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.412, allocations: 46.23 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.4121, allocations: 22.8 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.4122, allocations: 38.61 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4125, allocations: 113.9 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4125, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4125, allocations: 0 / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.4125, allocations: 0 / 0.5338 GB, free: 11.49 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006618/0.4132, allocations: 413.7 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4132, allocations: 9.625 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.4133, allocations: 10.34 kB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.4136, allocations: 203 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4136, allocations: 3 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.4137, allocations: 8.375 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4139, allocations: 84.33 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.414, allocations: 0.9375 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.414, allocations: 0.9688 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.414, allocations: 1 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.4142, allocations: 44.45 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.4149, allocations: 339.8 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.4151, allocations: 63.48 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.418e-05/0.4152, allocations: 24.91 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4153, allocations: 1.344 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.4153, allocations: 35.78 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4153, allocations: 4 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001513/0.4168, allocations: 326.9 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.4169, allocations: 56.61 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.4171, allocations: 162.4 kB / 0.5355 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4172, allocations: 30.84 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.4173, allocations: 100.6 kB / 0.5356 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.4173, allocations: 45.11 kB / 0.5357 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.4174, allocations: 31.17 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4176, allocations: 321.8 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4177, allocations: 44.16 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4179, allocations: 48.5 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.4182, allocations: 119.4 kB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4182, allocations: 0 / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000295/0.4185, allocations: 146.5 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.4185, allocations: 9 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4186, allocations: 0 / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4186, allocations: 1.406 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4187, allocations: 29.66 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4187, allocations: 4.703 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.4188, allocations: 7.031 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4188, allocations: 4.531 kB / 0.5364 GB, free: 9.207 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 (13): * Single equations (assignments): 13 * 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.0001099/0.4189, allocations: 124.8 kB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.419, allocations: 17.19 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.4194, allocations: 185 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4194, allocations: 6.281 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4194, allocations: 0 / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4194, allocations: 1.094 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.4201, allocations: 0.4985 MB / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4201, allocations: 0 / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.4202, allocations: 25.33 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4202, allocations: 1.344 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4202, allocations: 5.5 kB / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4202, allocations: 1.406 kB / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4203, allocations: 0 / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.4206, allocations: 253.6 kB / 0.5375 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.4206, allocations: 83.23 kB / 0.5376 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4206, allocations: 6.125 kB / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.4207, allocations: 7.281 kB / 0.5376 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4208, allocations: 9.391 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4208, allocations: 11.22 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.764e-05/0.4209, allocations: 128.3 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4209, allocations: 1.094 kB / 0.5377 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4212, allocations: 30.64 kB / 0.5378 GB, free: 8.07 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 (13): * Single equations (assignments): 13 * 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.001011/0.4222, allocations: 453.1 kB / 0.5382 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.4225, allocations: 109.8 kB / 0.5383 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4225, allocations: 0 / 0.5383 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4226, allocations: 64.16 kB / 0.5384 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.423, allocations: 27.47 kB / 0.5384 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.4235, allocations: 264 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4238, allocations: 0.7113 MB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.025e-05/0.4239, allocations: 33.73 kB / 0.5394 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.424, allocations: 24.45 kB / 0.5394 GB, free: 6.801 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.424, allocations: 3.938 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of Templates: time 0.004054/0.428, allocations: 1.579 MB / 0.5409 GB, free: 6.004 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches