Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 113 kB / 18.45 MB, free: 4.621 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: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2007/0.2007, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 72.17 kB / 482 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.319, allocations: 62.45 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002743/0.3218, allocations: 1.65 MB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.3228, allocations: 0.5811 MB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.3229, allocations: 1.969 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.3235, allocations: 448 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.3239, allocations: 297 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3244, allocations: 172.5 kB / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.3247, allocations: 178.1 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.3248, allocations: 17.64 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3249, allocations: 106.8 kB / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3252, allocations: 215.4 kB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3252, allocations: 2.438 kB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3253, allocations: 45.47 kB / 0.5353 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.3254, allocations: 79.2 kB / 0.5353 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.3255, allocations: 102.9 kB / 0.5354 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.3258, allocations: 263.3 kB / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3258, allocations: 0 / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3258, allocations: 1.031 kB / 0.5357 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3259, allocations: 0 / 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.0006774/0.3265, allocations: 0.6401 MB / 0.5363 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3266, allocations: 13.5 kB / 0.5363 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.3266, allocations: 42.44 kB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3269, allocations: 300.1 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.3269, allocations: 5.688 kB / 0.5367 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.3269, allocations: 5.688 kB / 0.5367 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3271, allocations: 56.39 kB / 0.5367 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3271, allocations: 0 / 0.5367 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3271, allocations: 9.25 kB / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3271, allocations: 0 / 0.5367 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3273, allocations: 28.97 kB / 0.5368 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3278, allocations: 397 kB / 0.5371 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.328, allocations: 45.09 kB / 0.5372 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.328, allocations: 24.53 kB / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3281, allocations: 0 / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3281, allocations: 35.47 kB / 0.5372 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3281, allocations: 1.031 kB / 0.5372 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006441/0.3288, allocations: 236.4 kB / 0.5375 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3288, allocations: 56.5 kB / 0.5375 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008955/0.3297, allocations: 0.871 MB / 0.5384 GB, free: 8.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3297, allocations: 25.7 kB / 0.5384 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3299, allocations: 229.1 kB / 0.5386 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3299, allocations: 10.78 kB / 0.5386 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.33, allocations: 18.16 kB / 0.5386 GB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3301, allocations: 367.9 kB / 0.539 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.3302, allocations: 19.89 kB / 0.539 GB, free: 8.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.3303, allocations: 25.42 kB / 0.539 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3304, allocations: 51.42 kB / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3305, allocations: 0 / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002407/0.3307, allocations: 130.2 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3307, allocations: 5.719 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3307, allocations: 0 / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3308, allocations: 1.531 kB / 0.5392 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.3308, allocations: 17.39 kB / 0.5392 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3308, allocations: 0 / 0.5392 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.3309, allocations: 12.09 kB / 0.5392 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3309, allocations: 1.375 kB / 0.5392 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.0001766/0.3311, allocations: 214.8 kB / 0.5395 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.3312, allocations: 41.72 kB / 0.5395 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3315, allocations: 150.4 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3315, allocations: 0.9062 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3315, allocations: 1.062 kB / 0.5396 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3315, allocations: 3.938 kB / 0.5396 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.3321, allocations: 464.5 kB / 0.5401 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3321, allocations: 0 / 0.5401 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.3322, allocations: 13.73 kB / 0.5401 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3322, allocations: 3.938 kB / 0.5401 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3322, allocations: 9.438 kB / 0.5401 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3322, allocations: 0 / 0.5401 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3322, allocations: 5.188 kB / 0.5401 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3325, allocations: 221.7 kB / 0.5403 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.3326, allocations: 109.4 kB / 0.5404 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.3326, allocations: 9.328 kB / 0.5404 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.3327, allocations: 7.125 kB / 0.5404 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.3327, allocations: 6.281 kB / 0.5405 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3327, allocations: 1.062 kB / 0.5405 GB, free: 7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006809/0.3334, allocations: 0.6587 MB / 0.5411 GB, free: 6.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3334, allocations: 0 / 0.5411 GB, free: 6.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3337, allocations: 26.88 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.0009053/0.3346, allocations: 401.7 kB / 0.5415 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3349, allocations: 63.45 kB / 0.5416 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3349, allocations: 0.9062 kB / 0.5416 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.335, allocations: 25.48 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.0004036/0.3354, allocations: 31.25 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.001192/0.3366, allocations: 0.8259 MB / 0.5424 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.337, allocations: 0.8246 MB / 0.5432 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.3371, allocations: 17 kB / 0.5433 GB, free: 5.176 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3371, allocations: 3.938 kB / 0.5433 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Templates: time 0.007221/0.3443, allocations: 3.795 MB / 0.547 GB, free: 1.762 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches