Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 114 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 213.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 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.2118/0.2118, allocations: 46.1 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 76.09 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3218, allocations: 62.44 MB / 0.5317 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00288/0.3247, allocations: 1.674 MB / 0.5333 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00098/0.3257, allocations: 0.5558 MB / 0.5339 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.3257, allocations: 1.344 kB / 0.5339 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.3263, allocations: 452 kB / 0.5343 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.3267, allocations: 297.3 kB / 0.5346 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3271, allocations: 133.4 kB / 0.5347 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3273, allocations: 173.4 kB / 0.5349 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3274, allocations: 23.73 kB / 0.5349 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3275, allocations: 111.2 kB / 0.535 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.3278, allocations: 210.9 kB / 0.5352 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.3278, allocations: 3.594 kB / 0.5352 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3279, allocations: 59.89 kB / 0.5353 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.328, allocations: 90.42 kB / 0.5353 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.3281, allocations: 99.44 kB / 0.5354 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.3284, allocations: 274.7 kB / 0.5357 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3285, allocations: 0 / 0.5357 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3285, allocations: 0 / 0.5357 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3285, allocations: 0.9688 kB / 0.5357 GB, free: 11.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006602/0.3291, allocations: 0.6447 MB / 0.5363 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3292, allocations: 9.688 kB / 0.5363 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.3292, allocations: 46.91 kB / 0.5364 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3295, allocations: 293.8 kB / 0.5367 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3295, allocations: 2.688 kB / 0.5367 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3296, allocations: 11.28 kB / 0.5367 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3297, allocations: 59.83 kB / 0.5367 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3297, allocations: 1.375 kB / 0.5367 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3298, allocations: 0 / 0.5367 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3298, allocations: 5.188 kB / 0.5367 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3299, allocations: 28.78 kB / 0.5368 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.3304, allocations: 398.9 kB / 0.5372 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3305, allocations: 50.95 kB / 0.5372 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.3306, allocations: 16.52 kB / 0.5372 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3306, allocations: 96 / 0.5372 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3306, allocations: 35.83 kB / 0.5372 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.3306, allocations: 4 kB / 0.5373 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009201/0.3316, allocations: 304.5 kB / 0.5375 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3316, allocations: 56.44 kB / 0.5376 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008995/0.3325, allocations: 0.868 MB / 0.5384 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3325, allocations: 26.77 kB / 0.5385 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3327, allocations: 225.1 kB / 0.5387 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3327, allocations: 26.67 kB / 0.5387 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3328, allocations: 23.84 kB / 0.5387 GB, free: 8.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3329, allocations: 365.2 kB / 0.5391 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.333, allocations: 22.05 kB / 0.5391 GB, free: 8.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.3331, allocations: 23.23 kB / 0.5391 GB, free: 8.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3333, allocations: 64.03 kB / 0.5392 GB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3333, allocations: 0 / 0.5392 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002556/0.3335, allocations: 146.4 kB / 0.5393 GB, free: 8.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3336, allocations: 7.031 kB / 0.5393 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3336, allocations: 1.125 kB / 0.5393 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3336, allocations: 0 / 0.5393 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.3337, allocations: 22.23 kB / 0.5394 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3337, allocations: 13.97 kB / 0.5394 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.3338, allocations: 6.219 kB / 0.5394 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.3338, allocations: 2.844 kB / 0.5394 GB, free: 8.242 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 0.0001657/0.334, allocations: 213.7 kB / 0.5396 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.3341, allocations: 42.53 kB / 0.5396 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.3344, allocations: 156.1 kB / 0.5398 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3344, allocations: 1.031 kB / 0.5398 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3345, allocations: 7.875 kB / 0.5398 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3345, allocations: 1.25 kB / 0.5398 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.3351, allocations: 0.4977 MB / 0.5403 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3351, allocations: 5.25 kB / 0.5403 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.3352, allocations: 21.64 kB / 0.5403 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3352, allocations: 5.094 kB / 0.5403 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3352, allocations: 1.188 kB / 0.5403 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3352, allocations: 1.062 kB / 0.5403 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3352, allocations: 1.156 kB / 0.5403 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3355, allocations: 230 kB / 0.5405 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3357, allocations: 114.8 kB / 0.5406 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3357, allocations: 13.09 kB / 0.5406 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.3358, allocations: 3.469 kB / 0.5406 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3358, allocations: 7.359 kB / 0.5407 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3358, allocations: 3.344 kB / 0.5407 GB, free: 7.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.3365, allocations: 0.6576 MB / 0.5413 GB, free: 6.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3365, allocations: 0 / 0.5413 GB, free: 6.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3368, allocations: 29.59 kB / 0.5413 GB, free: 6.859 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.001017/0.3379, allocations: 454.8 kB / 0.5418 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.3381, allocations: 71.59 kB / 0.5418 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3381, allocations: 0 / 0.5418 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.3382, allocations: 38.02 kB / 0.5419 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.3387, allocations: 33.3 kB / 0.5419 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3399, allocations: 0.8575 MB / 0.5427 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.3403, allocations: 0.8216 MB / 0.5435 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.3404, allocations: 23.3 kB / 0.5436 GB, free: 5.301 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3404, allocations: 4 kB / 0.5436 GB, free: 5.297 MB / 398.1 MB Notification: Performance of Templates: time 0.00745/0.3478, allocations: 3.962 MB / 0.5474 GB, free: 1.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches