Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00202/0.00202, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002691/0.002691, allocations: 202 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 62.45 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002734/0.3876, allocations: 1.612 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.3886, allocations: 0.5561 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3886, allocations: 1.312 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.3892, allocations: 453.6 kB / 0.5336 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.3896, allocations: 295.6 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.39, allocations: 173 kB / 0.534 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.3902, allocations: 163.1 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.3903, allocations: 11.17 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3905, allocations: 109.9 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3907, allocations: 214.4 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3908, allocations: 3.688 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.3908, allocations: 22.16 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.3909, allocations: 83.47 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.391, allocations: 102.5 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3913, allocations: 254.4 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3913, allocations: 3.984 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3913, allocations: 0 / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3913, allocations: 1.406 kB / 0.5349 GB, free: 10.97 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.0006648/0.392, allocations: 0.6296 MB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.392, allocations: 10.84 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.3921, allocations: 41.34 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.3924, allocations: 298.5 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3924, allocations: 1.875 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3924, allocations: 5.891 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3926, allocations: 61.98 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3926, allocations: 0 / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.3926, allocations: 0 / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3926, allocations: 1.344 kB / 0.5359 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.3927, allocations: 25.42 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.3932, allocations: 389.5 kB / 0.5363 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.3933, allocations: 36.62 kB / 0.5364 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3933, allocations: 15.34 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3934, allocations: 1.125 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3934, allocations: 34.56 kB / 0.5364 GB, free: 9.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3934, allocations: 1.125 kB / 0.5364 GB, free: 9.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002678/0.3937, allocations: 103.8 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.3937, allocations: 51.41 kB / 0.5366 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.3946, allocations: 0.867 MB / 0.5374 GB, free: 9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3946, allocations: 31.02 kB / 0.5375 GB, free: 8.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3948, allocations: 225.8 kB / 0.5377 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3948, allocations: 7.891 kB / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.3948, allocations: 12.56 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.395, allocations: 364.4 kB / 0.538 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.395, allocations: 10.3 kB / 0.538 GB, free: 8.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.3951, allocations: 10.09 kB / 0.5381 GB, free: 8.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.922e-05/0.3952, allocations: 34.36 kB / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3952, allocations: 0 / 0.5381 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001499/0.3953, allocations: 86.81 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3953, allocations: 6.031 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3954, allocations: 4 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3954, allocations: 0 / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.936e-05/0.3954, allocations: 12.33 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3955, allocations: 1.281 kB / 0.5382 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.3955, allocations: 5.219 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3955, allocations: 5.031 kB / 0.5382 GB, free: 8.289 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 (2): * Single equations (assignments): 2 * 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.0001694/0.3957, allocations: 222.6 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.3958, allocations: 41.47 kB / 0.5385 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.396, allocations: 105 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.396, allocations: 1.031 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.396, allocations: 0 / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.396, allocations: 0 / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3963, allocations: 288.4 kB / 0.5388 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3963, allocations: 4.031 kB / 0.5388 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.3964, allocations: 5.156 kB / 0.5388 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3964, allocations: 0 / 0.5388 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3964, allocations: 4.906 kB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3964, allocations: 0 / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3964, allocations: 1.062 kB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3966, allocations: 193.4 kB / 0.539 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.3967, allocations: 114.2 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3967, allocations: 0 / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.3968, allocations: 2.25 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.3968, allocations: 5.109 kB / 0.5391 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.3968, allocations: 0.9375 kB / 0.5391 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005995/0.3974, allocations: 0.6541 MB / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3974, allocations: 0 / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3976, allocations: 14.62 kB / 0.5398 GB, free: 7.156 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 (2): * Single equations (assignments): 2 * 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.0008217/0.3985, allocations: 364.6 kB / 0.5401 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3986, allocations: 35.19 kB / 0.5402 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3986, allocations: 0 / 0.5402 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.3987, allocations: 15.97 kB / 0.5402 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3991, allocations: 32.03 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.4001, allocations: 0.7637 MB / 0.541 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.4006, allocations: 0.8229 MB / 0.5418 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.4007, allocations: 18.62 kB / 0.5418 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.4007, allocations: 11.91 kB / 0.5418 GB, free: 5.727 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4007, allocations: 4 kB / 0.5418 GB, free: 5.723 MB / 398.1 MB Notification: Performance of Templates: time 0.004834/0.4055, allocations: 1.259 MB / 0.543 GB, free: 5.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches