Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007285/0.0007286, allocations: 94.09 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000863/0.000863, allocations: 202.5 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.7 MB / 246.8 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1763/0.1763, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002375, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08574, allocations: 63.56 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001564/0.08734, allocations: 1.337 MB / 484.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.08871, allocations: 1.12 MB / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.08876, allocations: 0 / 485.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.08893, allocations: 19.91 kB / 485.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.08911, allocations: 67.75 kB / 485.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.08933, allocations: 79.86 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.08946, allocations: 67.81 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.08956, allocations: 19.98 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.08961, allocations: 23.88 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.08972, allocations: 35.83 kB / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.08974, allocations: 0 / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.08989, allocations: 99.88 kB / 485.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.08994, allocations: 15.92 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.08999, allocations: 57.5 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.09019, allocations: 139.6 kB / 486.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.0902, allocations: 4 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09021, allocations: 3.938 kB / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.09022, allocations: 0 / 486.2 MB, free: 1.027 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003936/0.09061, allocations: 395.5 kB / 486.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.09065, allocations: 8.031 kB / 486.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.033e-05/0.09069, allocations: 8.844 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.09086, allocations: 200.1 kB / 486.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.09088, allocations: 4.375 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.0909, allocations: 4.375 kB / 486.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.09106, allocations: 79.52 kB / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.09107, allocations: 0 / 486.8 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.09109, allocations: 7.938 kB / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.0911, allocations: 0 / 486.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.09121, allocations: 43.89 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.09155, allocations: 300.8 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.09166, allocations: 50.56 kB / 487.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.09173, allocations: 20.97 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.09175, allocations: 8.062 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.09178, allocations: 38.5 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.093e-06/0.09179, allocations: 0 / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.09239, allocations: 197.2 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.09244, allocations: 81.11 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.09258, allocations: 153.8 kB / 487.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.0926, allocations: 25.7 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.09265, allocations: 96.12 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.09269, allocations: 31.55 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.09271, allocations: 9.719 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.0928, allocations: 326.8 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.09289, allocations: 27.98 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.09298, allocations: 37.7 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.09315, allocations: 77.08 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.09316, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.09338, allocations: 113.5 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.0934, allocations: 6.656 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.09341, allocations: 8 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.09342, allocations: 0 / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.09352, allocations: 19.98 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.09354, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.09359, allocations: 7.938 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.09361, allocations: 4 kB / 488.5 MB, free: 14.45 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.09369, allocations: 121.8 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.09373, allocations: 11.91 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.09399, allocations: 122.3 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.09401, allocations: 3.938 kB / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09402, allocations: 0 / 488.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.09403, allocations: 4.312 kB / 488.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.09447, allocations: 410.3 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.09448, allocations: 4 kB / 489.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.09456, allocations: 19.98 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.09457, allocations: 3.938 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.09459, allocations: 4 kB / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09459, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0946, allocations: 0 / 489.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.09484, allocations: 203.4 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.09489, allocations: 93 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.09492, allocations: 7.938 kB / 489.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.09501, allocations: 8 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.09504, allocations: 11.92 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.09505, allocations: 4 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.701e-05/0.09514, allocations: 119.2 kB / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09515, allocations: 0 / 489.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.09543, allocations: 43.98 kB / 489.7 MB, free: 13.17 MB / 366.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009889/0.09643, allocations: 0.489 MB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.09665, allocations: 71.94 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.09666, allocations: 4 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.09675, allocations: 35.92 kB / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.09705, allocations: 23.98 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.09744, allocations: 217.1 kB / 490.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.09765, allocations: 0.6965 MB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.09771, allocations: 20.95 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.09776, allocations: 15.42 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.09776, allocations: 4 kB / 491.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.003902/0.1017, allocations: 1.779 MB / 493 MB, free: 9.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches