Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.00222, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 89.98 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2717/0.2717, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.567e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5795, allocations: 87.16 MB / 0.5579 GB, free: 412 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5799, allocations: 74.62 kB / 0.558 GB, free: 376 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0307/0.6106, allocations: 7.815 MB / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6106, allocations: 0 / 0.5656 GB, free: 9.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-05/0.6107, allocations: 8 kB / 0.5656 GB, free: 9.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008178/0.6115, allocations: 0.5503 MB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6116, allocations: 8.031 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.6117, allocations: 47.39 kB / 0.5662 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.6124, allocations: 328 kB / 0.5665 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6125, allocations: 3.25 kB / 0.5665 GB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.6125, allocations: 8 kB / 0.5665 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6127, allocations: 51.86 kB / 0.5666 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6127, allocations: 3.938 kB / 0.5666 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.6127, allocations: 3.125 kB / 0.5666 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6127, allocations: 3.938 kB / 0.5666 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.6128, allocations: 22.89 kB / 0.5666 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009311/0.6138, allocations: 448.5 kB / 0.567 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.614, allocations: 45.56 kB / 0.5671 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.6141, allocations: 16.17 kB / 0.5671 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.6141, allocations: 0 / 0.5671 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6142, allocations: 34.52 kB / 0.5671 GB, free: 7.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.6142, allocations: 0 / 0.5671 GB, free: 7.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006724/0.6149, allocations: 201.5 kB / 0.5673 GB, free: 7.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6149, allocations: 55.41 kB / 0.5674 GB, free: 7.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.6169, allocations: 0.7744 MB / 0.5681 GB, free: 6.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.617, allocations: 33.62 kB / 0.5682 GB, free: 6.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.6171, allocations: 237.5 kB / 0.5684 GB, free: 6.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.6172, allocations: 19.31 kB / 0.5684 GB, free: 6.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.6172, allocations: 0 / 0.5684 GB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.6174, allocations: 310.8 kB / 0.5687 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.6174, allocations: 15.62 kB / 0.5687 GB, free: 6.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.6175, allocations: 19.36 kB / 0.5687 GB, free: 6.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.6176, allocations: 11.44 kB / 0.5688 GB, free: 6.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6176, allocations: 0 / 0.5688 GB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.6178, allocations: 72.14 kB / 0.5688 GB, free: 6.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6178, allocations: 11.89 kB / 0.5688 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6178, allocations: 0 / 0.5688 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6178, allocations: 0 / 0.5688 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.618, allocations: 15.98 kB / 0.5689 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.618, allocations: 4 kB / 0.5689 GB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.6182, allocations: 11.98 kB / 0.5689 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.6182, allocations: 0 / 0.5689 GB, free: 6.25 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/0.6183, allocations: 104.8 kB / 0.569 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.6185, allocations: 39.53 kB / 0.569 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.6188, allocations: 122.2 kB / 0.5691 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.6188, allocations: 3.938 kB / 0.5691 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6189, allocations: 8.062 kB / 0.5691 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6189, allocations: 4 kB / 0.5691 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.6201, allocations: 0.5798 MB / 0.5697 GB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.6201, allocations: 7.891 kB / 0.5697 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.6203, allocations: 12 kB / 0.5697 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6203, allocations: 0 / 0.5697 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.6203, allocations: 0 / 0.5697 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.6203, allocations: 3.984 kB / 0.5697 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6203, allocations: 7.938 kB / 0.5697 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.6207, allocations: 196.3 kB / 0.5699 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.621, allocations: 166 kB / 0.5701 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.6211, allocations: 4 kB / 0.5701 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.6212, allocations: 4 kB / 0.5701 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.6213, allocations: 7.984 kB / 0.5701 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.6213, allocations: 0 / 0.5701 GB, free: 5.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.6225, allocations: 0.6411 MB / 0.5707 GB, free: 4.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6225, allocations: 0 / 0.5707 GB, free: 4.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.623, allocations: 63.12 kB / 0.5708 GB, free: 4.488 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 () * 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 (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.00111/0.6241, allocations: 357.3 kB / 0.5711 GB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.6243, allocations: 33.11 kB / 0.5712 GB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6243, allocations: 3.938 kB / 0.5712 GB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.436e-05/0.6244, allocations: 16.94 kB / 0.5712 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.6248, allocations: 33.83 kB / 0.5712 GB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.6266, allocations: 0.7586 MB / 0.5719 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.6272, allocations: 0.8369 MB / 0.5728 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.6274, allocations: 23.67 kB / 0.5728 GB, free: 2.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6274, allocations: 0 / 0.5728 GB, free: 2.559 MB / 378.7 MB Notification: Performance of Templates: time 0.01235/0.6398, allocations: 4.305 MB / 0.577 GB, free: 14.26 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches