Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009631, allocations: 202.9 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.262/1.262, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008049/0.0008048, allocations: 99.53 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1911/0.1911, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002355, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08796, allocations: 62.96 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.001724/0.08972, allocations: 1.299 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000774/0.09051, allocations: 0.4915 MB / 0.5171 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.09057, allocations: 3.938 kB / 0.5171 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.09081, allocations: 71.83 kB / 0.5171 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.09103, allocations: 87.78 kB / 0.5172 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.09129, allocations: 98.44 kB / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.09144, allocations: 71.75 kB / 0.5174 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.09153, allocations: 11.98 kB / 0.5174 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.0916, allocations: 31.89 kB / 0.5174 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.303e-05/0.0917, allocations: 47.83 kB / 0.5175 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.09172, allocations: 4 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.0918, allocations: 35.98 kB / 0.5175 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.09186, allocations: 19.92 kB / 0.5175 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.09189, allocations: 37.64 kB / 0.5176 GB, free: 464 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.09203, allocations: 75.88 kB / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09204, allocations: 0 / 0.5176 GB, free: 388 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09206, allocations: 4 kB / 0.5177 GB, free: 384 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.09207, allocations: 0 / 0.5177 GB, free: 384 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.1783/0.2704, allocations: 399 kB / 0.518 GB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2704, allocations: 10.97 kB / 0.518 GB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.2705, allocations: 20.72 kB / 0.5181 GB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2706, allocations: 195.8 kB / 0.5182 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.2706, allocations: 3.656 kB / 0.5183 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.2707, allocations: 3.406 kB / 0.5183 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2708, allocations: 57.8 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2709, allocations: 1.281 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2709, allocations: 1.125 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2709, allocations: 1.375 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.271, allocations: 34.08 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2714, allocations: 306.9 kB / 0.5186 GB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.2715, allocations: 48.05 kB / 0.5187 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.2716, allocations: 22.88 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2716, allocations: 1.344 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.2716, allocations: 35.33 kB / 0.5187 GB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2716, allocations: 0 / 0.5187 GB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000916/0.2726, allocations: 274.1 kB / 0.519 GB, free: 11.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.2726, allocations: 57.23 kB / 0.5191 GB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.2728, allocations: 214.2 kB / 0.5193 GB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2728, allocations: 28.39 kB / 0.5193 GB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2729, allocations: 105.9 kB / 0.5194 GB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.2729, allocations: 29.78 kB / 0.5194 GB, free: 10.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.2729, allocations: 1.25 kB / 0.5194 GB, free: 10.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.273, allocations: 328 kB / 0.5197 GB, free: 10.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.2731, allocations: 33.28 kB / 0.5198 GB, free: 10.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.2731, allocations: 33.09 kB / 0.5198 GB, free: 10.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.2732, allocations: 41.34 kB / 0.5198 GB, free: 10.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2732, allocations: 0.5 kB / 0.5198 GB, free: 10.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002198/0.2735, allocations: 119.3 kB / 0.52 GB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2735, allocations: 8.969 kB / 0.52 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2735, allocations: 0 / 0.52 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2735, allocations: 4 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.2736, allocations: 20.33 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2736, allocations: 4.578 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.2737, allocations: 11.42 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.2737, allocations: 2.781 kB / 0.52 GB, free: 10.54 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 7.25e-05/0.2738, allocations: 126.8 kB / 0.5201 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.2738, allocations: 9.984 kB / 0.5201 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.2741, allocations: 145.6 kB / 0.5203 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2741, allocations: 4.906 kB / 0.5203 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2741, allocations: 0.6875 kB / 0.5203 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2741, allocations: 7.094 kB / 0.5203 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.2746, allocations: 431 kB / 0.5207 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2746, allocations: 1 kB / 0.5207 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/0.2747, allocations: 19.55 kB / 0.5207 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2747, allocations: 1.031 kB / 0.5207 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2747, allocations: 12.3 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2747, allocations: 1.094 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2747, allocations: 6.219 kB / 0.5207 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.275, allocations: 221.3 kB / 0.5209 GB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.275, allocations: 93.06 kB / 0.521 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.275, allocations: 3.156 kB / 0.521 GB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.2751, allocations: 11.06 kB / 0.521 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2751, allocations: 9.266 kB / 0.5211 GB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2752, allocations: 2.5 kB / 0.5211 GB, free: 9.785 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.2753, allocations: 160.5 kB / 0.5212 GB, free: 9.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2753, allocations: 0 / 0.5212 GB, free: 9.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.2755, allocations: 19.41 kB / 0.5212 GB, free: 9.711 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.0008602/0.2764, allocations: 452.2 kB / 0.5217 GB, free: 9.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.2767, allocations: 83.12 kB / 0.5217 GB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2767, allocations: 0 / 0.5217 GB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2768, allocations: 45.52 kB / 0.5218 GB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2771, allocations: 16.55 kB / 0.5218 GB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.2776, allocations: 307.7 kB / 0.5221 GB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2777, allocations: 0.7144 MB / 0.5228 GB, free: 8.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.2778, allocations: 19.41 kB / 0.5228 GB, free: 8.578 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2778, allocations: 0 / 0.5228 GB, free: 8.578 MB / 346.7 MB Notification: Performance of Templates: time 0.003487/0.2813, allocations: 1.807 MB / 0.5246 GB, free: 8.379 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches