Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 201.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 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.0007291/0.0007291, allocations: 89.34 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 44.82 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 11.98 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09699, allocations: 62.95 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001959/0.09898, allocations: 1.304 MB / 0.5166 GB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.09981, allocations: 487.2 kB / 0.5171 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.09987, allocations: 0 / 0.5171 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.1004, allocations: 443.2 kB / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1008, allocations: 275.5 kB / 0.5177 GB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.1011, allocations: 106.2 kB / 0.5179 GB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1012, allocations: 127.7 kB / 0.518 GB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.1013, allocations: 12.19 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1825/0.2838, allocations: 98.48 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.2841, allocations: 165.6 kB / 0.5182 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2841, allocations: 2.344 kB / 0.5182 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.2842, allocations: 20 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2843, allocations: 82.77 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.2843, allocations: 63.7 kB / 0.5184 GB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.2846, allocations: 178.1 kB / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2846, allocations: 4.219 kB / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2846, allocations: 0 / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2846, allocations: 0.8125 kB / 0.5186 GB, free: 10.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004932/0.2851, allocations: 0.588 MB / 0.5191 GB, free: 9.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2851, allocations: 8.906 kB / 0.5192 GB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.2852, allocations: 42.73 kB / 0.5192 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2854, allocations: 275.8 kB / 0.5195 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.2854, allocations: 1.656 kB / 0.5195 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2854, allocations: 2.844 kB / 0.5195 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2856, allocations: 51.59 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2856, allocations: 2.156 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.2856, allocations: 1.156 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2856, allocations: 1.859 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.2857, allocations: 23.77 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.2861, allocations: 377.8 kB / 0.5199 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.787e-05/0.2862, allocations: 34.88 kB / 0.5199 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.2862, allocations: 19.28 kB / 0.52 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2862, allocations: 0.9844 kB / 0.52 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.2863, allocations: 32.81 kB / 0.52 GB, free: 9.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2863, allocations: 0 / 0.52 GB, free: 9.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002254/0.2865, allocations: 98.33 kB / 0.5201 GB, free: 9.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2865, allocations: 57.53 kB / 0.5201 GB, free: 8.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.2874, allocations: 0.8652 MB / 0.521 GB, free: 8.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.2874, allocations: 31.11 kB / 0.521 GB, free: 8.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2875, allocations: 230.2 kB / 0.5212 GB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.2875, allocations: 1.578 kB / 0.5212 GB, free: 8.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2875, allocations: 0 / 0.5212 GB, free: 8.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.2876, allocations: 368.1 kB / 0.5216 GB, free: 8.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.2877, allocations: 9.703 kB / 0.5216 GB, free: 8.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.2877, allocations: 12.72 kB / 0.5216 GB, free: 8.387 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.2878, allocations: 13.19 kB / 0.5216 GB, free: 8.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2878, allocations: 1.531 kB / 0.5216 GB, free: 8.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001286/0.2879, allocations: 100.7 kB / 0.5217 GB, free: 8.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2879, allocations: 7 kB / 0.5217 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2879, allocations: 0 / 0.5217 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.288, allocations: 3.703 kB / 0.5217 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.288, allocations: 11.55 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.288, allocations: 0 / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.2881, allocations: 4.656 kB / 0.5217 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2881, allocations: 1.469 kB / 0.5217 GB, free: 8.32 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 (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.0001486/0.2882, allocations: 214.6 kB / 0.5219 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.2883, allocations: 41.06 kB / 0.522 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.2885, allocations: 113.7 kB / 0.5221 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2885, allocations: 0.8438 kB / 0.5221 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2885, allocations: 1.219 kB / 0.5221 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2885, allocations: 1.5 kB / 0.5221 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.2887, allocations: 283.9 kB / 0.5224 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2887, allocations: 2.234 kB / 0.5224 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.2888, allocations: 5.578 kB / 0.5224 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2888, allocations: 1.984 kB / 0.5224 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2888, allocations: 0 / 0.5224 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2888, allocations: 5.938 kB / 0.5224 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2888, allocations: 4.031 kB / 0.5224 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.289, allocations: 194.2 kB / 0.5226 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.289, allocations: 107.6 kB / 0.5227 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.289, allocations: 6.438 kB / 0.5227 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.2891, allocations: 3.984 kB / 0.5227 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.2891, allocations: 6.078 kB / 0.5227 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2892, allocations: 0.75 kB / 0.5227 GB, free: 7.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005768/0.2897, allocations: 0.6551 MB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2897, allocations: 1.125 kB / 0.5233 GB, free: 7.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.29, allocations: 14.39 kB / 0.5233 GB, free: 7.574 MB / 346.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.0006286/0.2906, allocations: 344.4 kB / 0.5237 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2907, allocations: 27.05 kB / 0.5237 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2907, allocations: 0 / 0.5237 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.2908, allocations: 11.75 kB / 0.5237 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2911, allocations: 36.25 kB / 0.5237 GB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.2921, allocations: 0.8386 MB / 0.5246 GB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2924, allocations: 0.8149 MB / 0.5254 GB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.2924, allocations: 12.17 kB / 0.5254 GB, free: 6.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2924, allocations: 0 / 0.5254 GB, free: 6.336 MB / 346.7 MB Notification: Performance of Templates: time 0.006194/0.2986, allocations: 3.414 MB / 0.5287 GB, free: 5.594 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches