Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001515/0.001515, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 75.88 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3492, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002994/0.3522, allocations: 1.655 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3533, allocations: 0.5775 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.3534, allocations: 1.375 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.354, allocations: 457.2 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.3544, allocations: 291.8 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.3549, allocations: 173.4 kB / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3551, allocations: 178.2 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3552, allocations: 13.03 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3554, allocations: 111.3 kB / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3556, allocations: 214.6 kB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3556, allocations: 3.938 kB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.3557, allocations: 41.08 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3559, allocations: 87.17 kB / 0.5354 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.356, allocations: 99.81 kB / 0.5355 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.3563, allocations: 262.7 kB / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3563, allocations: 0 / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3563, allocations: 0 / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3563, allocations: 1.031 kB / 0.5357 GB, free: 10.86 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.0007638/0.3571, allocations: 0.6392 MB / 0.5363 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3572, allocations: 17.62 kB / 0.5363 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/0.3572, allocations: 42.75 kB / 0.5364 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3576, allocations: 299.8 kB / 0.5367 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3576, allocations: 9.516 kB / 0.5367 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.3576, allocations: 2.875 kB / 0.5367 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3578, allocations: 56.09 kB / 0.5367 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3578, allocations: 0 / 0.5367 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3578, allocations: 4 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3578, allocations: 1 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3579, allocations: 33.53 kB / 0.5368 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3585, allocations: 392.2 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3587, allocations: 41.5 kB / 0.5372 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3588, allocations: 23.59 kB / 0.5372 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3588, allocations: 1 kB / 0.5372 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3588, allocations: 39.31 kB / 0.5373 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3588, allocations: 0 / 0.5373 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006623/0.3595, allocations: 237 kB / 0.5375 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3595, allocations: 56.53 kB / 0.5375 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.3605, allocations: 0.8668 MB / 0.5384 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3605, allocations: 25.7 kB / 0.5384 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3607, allocations: 230.4 kB / 0.5386 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3607, allocations: 14.03 kB / 0.5386 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.3607, allocations: 14.25 kB / 0.5386 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3609, allocations: 367.6 kB / 0.539 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.361, allocations: 20.17 kB / 0.539 GB, free: 8.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.361, allocations: 24.2 kB / 0.539 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3612, allocations: 52.33 kB / 0.5391 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3612, allocations: 0 / 0.5391 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002272/0.3614, allocations: 126.2 kB / 0.5392 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3615, allocations: 5.25 kB / 0.5392 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3615, allocations: 1.125 kB / 0.5392 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3615, allocations: 4 kB / 0.5392 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.3616, allocations: 13.95 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3616, allocations: 5.016 kB / 0.5392 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.3616, allocations: 11.16 kB / 0.5393 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3617, allocations: 4.984 kB / 0.5393 GB, free: 8.016 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 0.0001909/0.3619, allocations: 211.5 kB / 0.5395 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.3619, allocations: 42.41 kB / 0.5395 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.3622, allocations: 146 kB / 0.5396 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3622, allocations: 1.219 kB / 0.5396 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3622, allocations: 0 / 0.5396 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3623, allocations: 8.203 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.3628, allocations: 472.4 kB / 0.5401 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3629, allocations: 1.219 kB / 0.5401 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.3629, allocations: 13.23 kB / 0.5401 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3629, allocations: 1.031 kB / 0.5401 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3629, allocations: 13.02 kB / 0.5401 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.363, allocations: 0 / 0.5401 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.363, allocations: 3.938 kB / 0.5401 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3632, allocations: 222.1 kB / 0.5403 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.3633, allocations: 113.9 kB / 0.5404 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3633, allocations: 5.875 kB / 0.5405 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.3634, allocations: 5.656 kB / 0.5405 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3635, allocations: 8.406 kB / 0.5405 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3635, allocations: 3.984 kB / 0.5405 GB, free: 6.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006835/0.3642, allocations: 0.6504 MB / 0.5411 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3642, allocations: 0 / 0.5411 GB, free: 6.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.3645, allocations: 26.94 kB / 0.5411 GB, free: 6.672 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.000966/0.3654, allocations: 402.8 kB / 0.5415 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3657, allocations: 62.92 kB / 0.5416 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3657, allocations: 0 / 0.5416 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.3658, allocations: 25.14 kB / 0.5416 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.3662, allocations: 26.27 kB / 0.5416 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3675, allocations: 0.8273 MB / 0.5424 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.368, allocations: 0.8284 MB / 0.5432 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.368, allocations: 16.75 kB / 0.5433 GB, free: 5.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.368, allocations: 0 / 0.5433 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Templates: time 0.006979/0.375, allocations: 3.788 MB / 0.547 GB, free: 1.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches