Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009379/0.000938, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, 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.0007851/0.0007855, allocations: 92.73 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.1908/0.1908, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002421, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09352, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001668/0.09522, allocations: 1.307 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007262/0.09596, allocations: 0.4914 MB / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.09602, allocations: 0 / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.09626, allocations: 87.8 kB / 0.5172 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.09648, allocations: 95.77 kB / 0.5173 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.09677, allocations: 91.81 kB / 0.5173 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.09692, allocations: 79.75 kB / 0.5174 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.656e-05/0.09701, allocations: 15.97 kB / 0.5174 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.09706, allocations: 23.92 kB / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.337e-05/0.09715, allocations: 47.81 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.09717, allocations: 0 / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.09727, allocations: 47.92 kB / 0.5175 GB, free: 480 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.09731, allocations: 23.84 kB / 0.5176 GB, free: 456 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.09735, allocations: 37.64 kB / 0.5176 GB, free: 412 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.09748, allocations: 79.89 kB / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.09749, allocations: 0 / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0975, allocations: 0 / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.09751, allocations: 0 / 0.5177 GB, free: 332 kB / 346.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.1728/0.2703, allocations: 407.6 kB / 0.5181 GB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2703, allocations: 9.125 kB / 0.5181 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.2704, allocations: 9.125 kB / 0.5181 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2705, allocations: 200.1 kB / 0.5183 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2706, allocations: 5.844 kB / 0.5183 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2706, allocations: 6.844 kB / 0.5183 GB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2707, allocations: 56.25 kB / 0.5183 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2708, allocations: 6.078 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.2708, allocations: 1.469 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2708, allocations: 0.7812 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2709, allocations: 32.28 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.2713, allocations: 302.7 kB / 0.5187 GB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2714, allocations: 52.77 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.2714, allocations: 19.97 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2715, allocations: 1.328 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2715, allocations: 33.12 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2715, allocations: 3.938 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008899/0.2724, allocations: 273.4 kB / 0.519 GB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.2724, allocations: 55.36 kB / 0.5191 GB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.2726, allocations: 235.7 kB / 0.5193 GB, free: 11.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.2727, allocations: 30 kB / 0.5193 GB, free: 11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.2727, allocations: 105.6 kB / 0.5194 GB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.2727, allocations: 29.66 kB / 0.5195 GB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.2727, allocations: 1.5 kB / 0.5195 GB, free: 10.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.2728, allocations: 324.5 kB / 0.5198 GB, free: 10.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.2729, allocations: 32.25 kB / 0.5198 GB, free: 10.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.273, allocations: 37.12 kB / 0.5199 GB, free: 10.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.535e-05/0.2731, allocations: 42.5 kB / 0.5199 GB, free: 10.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2731, allocations: 0 / 0.5199 GB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002214/0.2733, allocations: 129.1 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2733, allocations: 5.438 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2734, allocations: 1.156 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.2734, allocations: 1.312 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.2735, allocations: 18.16 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2735, allocations: 5.359 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.2735, allocations: 9 kB / 0.5201 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2735, allocations: 9.953 kB / 0.5201 GB, free: 10.52 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 (8): * Single equations (assignments): 8 * 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 6.851e-05/0.2736, allocations: 132.6 kB / 0.5202 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.2737, allocations: 11.33 kB / 0.5202 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.2739, allocations: 137 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.274, allocations: 1.219 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.274, allocations: 0.6094 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.274, allocations: 9.031 kB / 0.5203 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.2745, allocations: 429.2 kB / 0.5208 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2745, allocations: 1.062 kB / 0.5208 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.2746, allocations: 23.02 kB / 0.5208 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2746, allocations: 1.609 kB / 0.5208 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2746, allocations: 7.328 kB / 0.5208 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2746, allocations: 7.578 kB / 0.5208 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2746, allocations: 5 kB / 0.5208 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.2748, allocations: 222.8 kB / 0.521 GB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.2749, allocations: 92.27 kB / 0.5211 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2749, allocations: 2.25 kB / 0.5211 GB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.275, allocations: 13.39 kB / 0.5211 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.275, allocations: 7.391 kB / 0.5211 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.275, allocations: 2.031 kB / 0.5211 GB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.2752, allocations: 183 kB / 0.5213 GB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2752, allocations: 1.531 kB / 0.5213 GB, free: 9.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002242/0.2754, allocations: 18.84 kB / 0.5213 GB, free: 9.695 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000796/0.2762, allocations: 453.3 kB / 0.5217 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2765, allocations: 78.56 kB / 0.5218 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2765, allocations: 0 / 0.5218 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.2766, allocations: 50.3 kB / 0.5219 GB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.2769, allocations: 18.75 kB / 0.5219 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.2773, allocations: 335.6 kB / 0.5222 GB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2774, allocations: 0.7131 MB / 0.5229 GB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.2775, allocations: 16.28 kB / 0.5229 GB, free: 8.551 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.2775, allocations: 3.938 kB / 0.5229 GB, free: 8.547 MB / 346.7 MB Notification: Performance of Templates: time 0.00334/0.2808, allocations: 1.827 MB / 0.5247 GB, free: 8.352 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches