Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 199.8 kB / 15.8 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007564/0.0007567, allocations: 99.05 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1791/0.1791, allocations: 44.84 MB / 392 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002264/0.0002264, allocations: 8 kB / 464.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09219, allocations: 62.96 MB / 0.5153 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.001662/0.09389, allocations: 1.288 MB / 0.5166 GB, free: 1.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.09461, allocations: 483.3 kB / 0.517 GB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.09466, allocations: 0 / 0.517 GB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.09486, allocations: 27.86 kB / 0.5171 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.09505, allocations: 67.75 kB / 0.5171 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.09526, allocations: 74.48 kB / 0.5172 GB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.09537, allocations: 59.81 kB / 0.5173 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.535e-05/0.09546, allocations: 7.984 kB / 0.5173 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.09551, allocations: 27.86 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.09557, allocations: 15.86 kB / 0.5173 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.09559, allocations: 8 kB / 0.5173 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-05/0.09565, allocations: 24 kB / 0.5173 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.381e-05/0.09569, allocations: 19.91 kB / 0.5174 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.09573, allocations: 33.7 kB / 0.5174 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.09584, allocations: 59.91 kB / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.09585, allocations: 3.938 kB / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.09585, allocations: 0 / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.09586, allocations: 0 / 0.5175 GB, free: 0.5312 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.0003883/0.09626, allocations: 379.3 kB / 0.5178 GB, free: 116 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.09629, allocations: 12.03 kB / 0.5178 GB, free: 104 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.09633, allocations: 7.906 kB / 0.5178 GB, free: 96 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1699/0.2663, allocations: 187.5 kB / 0.518 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2663, allocations: 2.125 kB / 0.518 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2663, allocations: 9.75 kB / 0.518 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.2665, allocations: 48.25 kB / 0.5181 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2665, allocations: 0 / 0.5181 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.2665, allocations: 1.828 kB / 0.5181 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2665, allocations: 1 kB / 0.5181 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.569e-05/0.2666, allocations: 28.59 kB / 0.5181 GB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.2669, allocations: 284 kB / 0.5184 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2671, allocations: 43.28 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.2672, allocations: 20.25 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2672, allocations: 0.875 kB / 0.5184 GB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2672, allocations: 36.34 kB / 0.5185 GB, free: 11.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2672, allocations: 0.7188 kB / 0.5185 GB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005137/0.2677, allocations: 161 kB / 0.5186 GB, free: 11.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.2678, allocations: 52.16 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2679, allocations: 178.3 kB / 0.5188 GB, free: 11.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2679, allocations: 28.61 kB / 0.5189 GB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.268, allocations: 101.2 kB / 0.519 GB, free: 11.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.268, allocations: 21.41 kB / 0.519 GB, free: 11.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.268, allocations: 1.594 kB / 0.519 GB, free: 11.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.115e-05/0.2681, allocations: 324.3 kB / 0.5193 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.2681, allocations: 21.7 kB / 0.5193 GB, free: 10.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.2682, allocations: 21.84 kB / 0.5193 GB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.2683, allocations: 26.66 kB / 0.5194 GB, free: 10.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2683, allocations: 0 / 0.5194 GB, free: 10.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001692/0.2685, allocations: 92.53 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2685, allocations: 5.688 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2685, allocations: 0 / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2685, allocations: 4.906 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.2686, allocations: 14.64 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2686, allocations: 0.5625 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.2686, allocations: 7.906 kB / 0.5195 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2687, allocations: 1.344 kB / 0.5195 GB, free: 10.69 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 (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 5.709e-05/0.2687, allocations: 123.4 kB / 0.5196 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2688, allocations: 8.312 kB / 0.5196 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.269, allocations: 104.1 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.269, allocations: 0.9062 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.269, allocations: 0.9688 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.269, allocations: 0.5156 kB / 0.5197 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.2694, allocations: 363.6 kB / 0.5201 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2694, allocations: 2.188 kB / 0.5201 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.2694, allocations: 17.97 kB / 0.5201 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2694, allocations: 0 / 0.5201 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.2694, allocations: 4.344 kB / 0.5201 GB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2695, allocations: 5.609 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2695, allocations: 4 kB / 0.5201 GB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.2696, allocations: 186.3 kB / 0.5203 GB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2697, allocations: 86.86 kB / 0.5204 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2697, allocations: 2.844 kB / 0.5204 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.2698, allocations: 10.22 kB / 0.5204 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.2698, allocations: 6.141 kB / 0.5204 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2698, allocations: 0.7031 kB / 0.5204 GB, free: 9.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.463e-05/0.2699, allocations: 135.4 kB / 0.5205 GB, free: 9.898 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2699, allocations: 0.625 kB / 0.5205 GB, free: 9.898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.2701, allocations: 15.36 kB / 0.5205 GB, free: 9.898 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 (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.0006867/0.2708, allocations: 409 kB / 0.5209 GB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.271, allocations: 55.53 kB / 0.521 GB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.271, allocations: 0 / 0.521 GB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.2711, allocations: 27.23 kB / 0.521 GB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2714, allocations: 21.64 kB / 0.521 GB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2717, allocations: 227.6 kB / 0.5212 GB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2718, allocations: 0.6971 MB / 0.5219 GB, free: 8.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.2719, allocations: 21.55 kB / 0.5219 GB, free: 8.797 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2719, allocations: 0 / 0.5219 GB, free: 8.797 MB / 346.7 MB Notification: Performance of Templates: time 0.002724/0.2746, allocations: 1.454 MB / 0.5233 GB, free: 8.648 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches