Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 198 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 226.6 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007549/0.0007549, allocations: 96.69 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3678/0.3678, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002784, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3132, allocations: 62.96 MB / 0.5159 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001619/0.3149, allocations: 1.302 MB / 0.5172 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.3156, allocations: 0.5118 MB / 0.5177 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.3157, allocations: 4 kB / 0.5177 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.3162, allocations: 442.6 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3165, allocations: 265.7 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.3168, allocations: 157.7 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.317, allocations: 135.1 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.3171, allocations: 13.02 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.3172, allocations: 99.2 kB / 0.5187 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3174, allocations: 166.6 kB / 0.5189 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3174, allocations: 3.984 kB / 0.5189 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.3175, allocations: 29.31 kB / 0.5189 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.3175, allocations: 76.3 kB / 0.519 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.3176, allocations: 117.7 kB / 0.5191 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3178, allocations: 182.6 kB / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3178, allocations: 0 / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3178, allocations: 0 / 0.5193 GB, free: 35.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3178, allocations: 4 kB / 0.5193 GB, free: 35.32 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.0005001/0.3183, allocations: 0.5812 MB / 0.5198 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3184, allocations: 8.938 kB / 0.5198 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.3184, allocations: 41.81 kB / 0.5199 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3186, allocations: 295.8 kB / 0.5202 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3187, allocations: 3.656 kB / 0.5202 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3187, allocations: 4.312 kB / 0.5202 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3188, allocations: 56.23 kB / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3188, allocations: 0 / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3188, allocations: 6.719 kB / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3189, allocations: 0 / 0.5202 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.418e-05/0.3189, allocations: 32.17 kB / 0.5203 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3194, allocations: 389.7 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.3195, allocations: 32.38 kB / 0.5207 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.3195, allocations: 21.52 kB / 0.5207 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.3196, allocations: 0 / 0.5207 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3196, allocations: 34 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3196, allocations: 4 kB / 0.5207 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.3198, allocations: 114.6 kB / 0.5208 GB, free: 33.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3199, allocations: 51.41 kB / 0.5209 GB, free: 33.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.3205, allocations: 0.8694 MB / 0.5217 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.3205, allocations: 25.7 kB / 0.5218 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3207, allocations: 223.4 kB / 0.522 GB, free: 33.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.3207, allocations: 10.81 kB / 0.522 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3207, allocations: 0 / 0.522 GB, free: 33.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.3208, allocations: 365.8 kB / 0.5223 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.3208, allocations: 11.42 kB / 0.5223 GB, free: 33.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.3209, allocations: 11.38 kB / 0.5224 GB, free: 33.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.303e-05/0.3209, allocations: 37.91 kB / 0.5224 GB, free: 33.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3209, allocations: 0 / 0.5224 GB, free: 33.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001288/0.3211, allocations: 103.8 kB / 0.5225 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3211, allocations: 5.406 kB / 0.5225 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3211, allocations: 0 / 0.5225 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3211, allocations: 0 / 0.5225 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.3212, allocations: 5.469 kB / 0.5225 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3212, allocations: 4.031 kB / 0.5225 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.3213, allocations: 9.844 kB / 0.5225 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.3213, allocations: 2.688 kB / 0.5225 GB, free: 32.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.3214, allocations: 211.1 kB / 0.5227 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.3215, allocations: 45.75 kB / 0.5228 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.3216, allocations: 115.8 kB / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3217, allocations: 0 / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3217, allocations: 2.906 kB / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3217, allocations: 3.188 kB / 0.5229 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.3219, allocations: 288.9 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3219, allocations: 3.188 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.3219, allocations: 5.969 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3219, allocations: 0 / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3219, allocations: 0 / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.322, allocations: 0 / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.322, allocations: 4.031 kB / 0.5232 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.3221, allocations: 194.1 kB / 0.5233 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3222, allocations: 112.1 kB / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3222, allocations: 6.625 kB / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.3223, allocations: 2.75 kB / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3223, allocations: 4.031 kB / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3223, allocations: 0 / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004775/0.3228, allocations: 0.6615 MB / 0.5241 GB, free: 31.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3228, allocations: 0 / 0.5241 GB, free: 31.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.323, allocations: 15.84 kB / 0.5241 GB, free: 31.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007236/0.3238, allocations: 353.8 kB / 0.5245 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.3239, allocations: 25.78 kB / 0.5245 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3239, allocations: 0 / 0.5245 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.324, allocations: 18.47 kB / 0.5245 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3243, allocations: 26.61 kB / 0.5245 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.3252, allocations: 0.8419 MB / 0.5254 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3254, allocations: 0.8182 MB / 0.5262 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.3255, allocations: 13.06 kB / 0.5262 GB, free: 30.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3255, allocations: 0 / 0.5262 GB, free: 30.6 MB / 378.7 MB Notification: Performance of Templates: time 0.005255/0.3307, allocations: 3.457 MB / 0.5295 GB, free: 29.82 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches