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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 116.6 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3393/0.3393, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 64.17 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3209, allocations: 62.02 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002486/0.3234, allocations: 1.67 MB / 0.5168 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.3242, allocations: 0.5419 MB / 0.5173 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3243, allocations: 0 / 0.5173 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.3247, allocations: 452.6 kB / 0.5177 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.325, allocations: 276.4 kB / 0.518 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.3254, allocations: 157.1 kB / 0.5182 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3256, allocations: 168 kB / 0.5183 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.3257, allocations: 5.219 kB / 0.5183 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.3257, allocations: 113.1 kB / 0.5184 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3259, allocations: 205.5 kB / 0.5186 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3259, allocations: 2.969 kB / 0.5186 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.326, allocations: 24.75 kB / 0.5187 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.3261, allocations: 81.25 kB / 0.5187 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.3262, allocations: 100.9 kB / 0.5188 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3263, allocations: 241.5 kB / 0.5191 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3264, allocations: 0 / 0.5191 GB, free: 35.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3264, allocations: 0 / 0.5191 GB, free: 35.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3264, allocations: 2.844 kB / 0.5191 GB, free: 35.82 MB / 378.7 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.0005271/0.3269, allocations: 0.6301 MB / 0.5197 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.327, allocations: 10.44 kB / 0.5197 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.327, allocations: 37.28 kB / 0.5197 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3272, allocations: 305.4 kB / 0.52 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3273, allocations: 384 / 0.52 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3273, allocations: 2.938 kB / 0.52 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3274, allocations: 51.88 kB / 0.5201 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3274, allocations: 0 / 0.5201 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3274, allocations: 8 kB / 0.5201 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3274, allocations: 2.875 kB / 0.5201 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/0.3275, allocations: 25.05 kB / 0.5201 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3279, allocations: 383.3 kB / 0.5205 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.328, allocations: 37.36 kB / 0.5205 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.3281, allocations: 21.58 kB / 0.5205 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3281, allocations: 0 / 0.5205 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.3281, allocations: 33.09 kB / 0.5206 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3281, allocations: 0 / 0.5206 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.3284, allocations: 101.6 kB / 0.5207 GB, free: 34.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.3284, allocations: 51.41 kB / 0.5207 GB, free: 34.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.329, allocations: 0.8778 MB / 0.5216 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.329, allocations: 28.61 kB / 0.5216 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3291, allocations: 222 kB / 0.5218 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3292, allocations: 7.234 kB / 0.5218 GB, free: 33.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.3292, allocations: 12.62 kB / 0.5218 GB, free: 33.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.3293, allocations: 364.9 kB / 0.5222 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.3293, allocations: 9.062 kB / 0.5222 GB, free: 33.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.3293, allocations: 12.06 kB / 0.5222 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.577e-05/0.3294, allocations: 31.05 kB / 0.5222 GB, free: 33.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3294, allocations: 0 / 0.5222 GB, free: 33.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.3295, allocations: 94.09 kB / 0.5223 GB, free: 33.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3296, allocations: 9.594 kB / 0.5223 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3296, allocations: 0 / 0.5223 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3296, allocations: 3.984 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.3297, allocations: 5.688 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3297, allocations: 4.031 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.3297, allocations: 2.844 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3297, allocations: 3.281 kB / 0.5223 GB, free: 33.39 MB / 378.7 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.000123/0.3299, allocations: 215.2 kB / 0.5225 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3299, allocations: 39.94 kB / 0.5226 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.3301, allocations: 111.7 kB / 0.5227 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3301, allocations: 3.938 kB / 0.5227 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3301, allocations: 32 / 0.5227 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3301, allocations: 4 kB / 0.5227 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3303, allocations: 291.6 kB / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3303, allocations: 0 / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3303, allocations: 6.812 kB / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3304, allocations: 0 / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3304, allocations: 0 / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3304, allocations: 6.688 kB / 0.523 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3304, allocations: 0 / 0.523 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.3307, allocations: 0.8339 MB / 0.5238 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3308, allocations: 109.6 kB / 0.5239 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3308, allocations: 5.75 kB / 0.5239 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.3309, allocations: 10.27 kB / 0.5239 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.3309, allocations: 0 / 0.5239 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3309, allocations: 0 / 0.5239 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004537/0.3314, allocations: 0.6587 MB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3314, allocations: 2.594 kB / 0.5246 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000322/0.3317, allocations: 16.12 kB / 0.5246 GB, free: 31.77 MB / 378.7 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.0006544/0.3324, allocations: 336.7 kB / 0.5249 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.3325, allocations: 27.25 kB / 0.5249 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3325, allocations: 0 / 0.5249 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.3326, allocations: 15.19 kB / 0.5249 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3329, allocations: 33.28 kB / 0.525 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.3338, allocations: 0.9537 MB / 0.5259 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.334, allocations: 0.8249 MB / 0.5267 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.334, allocations: 9.109 kB / 0.5267 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.3341, allocations: 12.94 kB / 0.5267 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3341, allocations: 0 / 0.5267 GB, free: 30.3 MB / 378.7 MB Notification: Performance of Templates: time 0.003921/0.338, allocations: 1.269 MB / 0.528 GB, free: 30.12 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches