Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007624, allocations: 95.06 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 44.85 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09805, allocations: 62.96 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001937/0.1, allocations: 1.366 MB / 0.5167 GB, free: 1.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.1009, allocations: 0.5265 MB / 0.5172 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.101, allocations: 4 kB / 0.5172 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004915/0.1015, allocations: 439.2 kB / 0.5176 GB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1019, allocations: 275.4 kB / 0.5179 GB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1986/0.3005, allocations: 153.6 kB / 0.518 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.3009, allocations: 143.7 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.3011, allocations: 18.31 kB / 0.5182 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3012, allocations: 105.8 kB / 0.5183 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.3016, allocations: 175.7 kB / 0.5184 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3016, allocations: 1.5 kB / 0.5184 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.3018, allocations: 41.12 kB / 0.5185 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.3019, allocations: 88.75 kB / 0.5186 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.302, allocations: 65.48 kB / 0.5186 GB, free: 10.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3023, allocations: 204.6 kB / 0.5188 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3023, allocations: 1.938 kB / 0.5188 GB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3023, allocations: 1.344 kB / 0.5188 GB, free: 10.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.3023, allocations: 0 / 0.5188 GB, free: 10.21 MB / 346.7 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.0006629/0.303, allocations: 0.6163 MB / 0.5194 GB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3031, allocations: 9.312 kB / 0.5194 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.3031, allocations: 39.19 kB / 0.5195 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3034, allocations: 283.5 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3034, allocations: 1.812 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3034, allocations: 10.48 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3037, allocations: 68.66 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3037, allocations: 0 / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3037, allocations: 3.656 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3037, allocations: 0.9062 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3039, allocations: 57.31 kB / 0.5199 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3045, allocations: 416.6 kB / 0.5203 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3048, allocations: 68.72 kB / 0.5203 GB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.138e-05/0.3049, allocations: 33.05 kB / 0.5204 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3049, allocations: 0.9688 kB / 0.5204 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.3049, allocations: 32.69 kB / 0.5204 GB, free: 9.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3049, allocations: 4 kB / 0.5204 GB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001675/0.3066, allocations: 0.573 MB / 0.521 GB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.3066, allocations: 57.77 kB / 0.521 GB, free: 8.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3077, allocations: 0.8613 MB / 0.5219 GB, free: 8.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3077, allocations: 30.73 kB / 0.5219 GB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3079, allocations: 216.2 kB / 0.5221 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3079, allocations: 32.17 kB / 0.5221 GB, free: 8.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.3079, allocations: 4.531 kB / 0.5221 GB, free: 8.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3081, allocations: 365.2 kB / 0.5225 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.3082, allocations: 64 kB / 0.5225 GB, free: 8.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3084, allocations: 57.95 kB / 0.5226 GB, free: 8.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3085, allocations: 73.67 kB / 0.5227 GB, free: 8.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3085, allocations: 0 / 0.5227 GB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003666/0.3089, allocations: 217.3 kB / 0.5229 GB, free: 8.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3089, allocations: 7.938 kB / 0.5229 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3089, allocations: 0 / 0.5229 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3089, allocations: 4.516 kB / 0.5229 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.3091, allocations: 29.08 kB / 0.5229 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.3091, allocations: 1.031 kB / 0.5229 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.3092, allocations: 17.05 kB / 0.5229 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3092, allocations: 6.938 kB / 0.5229 GB, free: 8.195 MB / 346.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 (11): * Single equations (assignments): 11 * 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.0001925/0.3094, allocations: 214.9 kB / 0.5231 GB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.3094, allocations: 43.06 kB / 0.5232 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.3099, allocations: 253.9 kB / 0.5234 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3099, allocations: 5.812 kB / 0.5234 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3099, allocations: 3.953 kB / 0.5234 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3099, allocations: 1.672 kB / 0.5234 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.3108, allocations: 0.6149 MB / 0.524 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3108, allocations: 1.094 kB / 0.524 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3109, allocations: 32.81 kB / 0.5241 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3109, allocations: 2.078 kB / 0.5241 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3109, allocations: 2.188 kB / 0.5241 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3109, allocations: 1.469 kB / 0.5241 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3109, allocations: 2.031 kB / 0.5241 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.3114, allocations: 323.4 kB / 0.5244 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.3114, allocations: 113.8 kB / 0.5245 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3115, allocations: 8.172 kB / 0.5245 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3116, allocations: 14.88 kB / 0.5245 GB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.3116, allocations: 14.69 kB / 0.5245 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3117, allocations: 3.562 kB / 0.5245 GB, free: 7.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008397/0.3125, allocations: 0.6588 MB / 0.5252 GB, free: 7.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3125, allocations: 0.875 kB / 0.5252 GB, free: 7.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000254/0.3128, allocations: 31.36 kB / 0.5252 GB, free: 7.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009257/0.3137, allocations: 462.4 kB / 0.5256 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3141, allocations: 139.6 kB / 0.5258 GB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3141, allocations: 7.938 kB / 0.5258 GB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3143, allocations: 78.22 kB / 0.5259 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3146, allocations: 25.8 kB / 0.5259 GB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3158, allocations: 0.9542 MB / 0.5268 GB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3161, allocations: 0.8333 MB / 0.5276 GB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.3162, allocations: 16.53 kB / 0.5276 GB, free: 5.691 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3162, allocations: 0 / 0.5276 GB, free: 5.691 MB / 346.7 MB Notification: Performance of Templates: time 0.007409/0.3236, allocations: 4.174 MB / 0.5317 GB, free: 4.84 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches