Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009881/0.0009881, allocations: 118.1 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3497/0.3497, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001048, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3074, allocations: 62.02 MB / 0.5152 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002792/0.3102, allocations: 1.711 MB / 0.5168 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3117, allocations: 1.173 MB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.3117, allocations: 0 / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3119, allocations: 24.09 kB / 0.518 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.3121, allocations: 71.81 kB / 0.5181 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.3125, allocations: 157.5 kB / 0.5182 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3126, allocations: 72.97 kB / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.3127, allocations: 23.88 kB / 0.5183 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.3128, allocations: 28 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3129, allocations: 41.83 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3129, allocations: 6.906 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.313, allocations: 85.59 kB / 0.5185 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.3131, allocations: 20.81 kB / 0.5185 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.3131, allocations: 32.78 kB / 0.5185 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3133, allocations: 145.4 kB / 0.5186 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3134, allocations: 2.625 kB / 0.5186 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3134, allocations: 0 / 0.5186 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.3134, allocations: 0 / 0.5186 GB, free: 35.61 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.0004179/0.3138, allocations: 416.1 kB / 0.519 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3138, allocations: 8.656 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3139, allocations: 12.53 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.3141, allocations: 196.2 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3141, allocations: 2.875 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3141, allocations: 6.953 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3143, allocations: 81.28 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3143, allocations: 0 / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3143, allocations: 4 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3143, allocations: 0 / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3144, allocations: 37.38 kB / 0.5194 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.3148, allocations: 319.1 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.3149, allocations: 41.67 kB / 0.5197 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.315, allocations: 26.69 kB / 0.5197 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.315, allocations: 4 kB / 0.5198 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.315, allocations: 33.56 kB / 0.5198 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.315, allocations: 0 / 0.5198 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006739/0.3157, allocations: 224.3 kB / 0.52 GB, free: 34.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3158, allocations: 80.08 kB / 0.5201 GB, free: 34.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3159, allocations: 151 kB / 0.5202 GB, free: 34.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.3159, allocations: 25.7 kB / 0.5202 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.3159, allocations: 102.1 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.316, allocations: 25.16 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.316, allocations: 22.16 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.316, allocations: 321.1 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3162, allocations: 34.47 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3163, allocations: 58.55 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.3165, allocations: 90.42 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3165, allocations: 0 / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002424/0.3167, allocations: 115.4 kB / 0.521 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3168, allocations: 13.06 kB / 0.521 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3168, allocations: 0 / 0.521 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3168, allocations: 2.844 kB / 0.521 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3169, allocations: 25.61 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3169, allocations: 3.938 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.317, allocations: 12.73 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.317, allocations: 2.812 kB / 0.521 GB, free: 33.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.163e-05/0.3171, allocations: 123.4 kB / 0.5212 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.3171, allocations: 11.75 kB / 0.5212 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3174, allocations: 137 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3174, allocations: 2.938 kB / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3174, allocations: 0 / 0.5213 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3174, allocations: 7.875 kB / 0.5213 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3179, allocations: 413.5 kB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3179, allocations: 0 / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.318, allocations: 18.02 kB / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.318, allocations: 0 / 0.5217 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.318, allocations: 7.078 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.318, allocations: 4 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.318, allocations: 2.938 kB / 0.5217 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.3186, allocations: 0.8234 MB / 0.5225 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.3186, allocations: 87.55 kB / 0.5226 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3186, allocations: 6.781 kB / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3187, allocations: 11.92 kB / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3188, allocations: 6.016 kB / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3188, allocations: 2.875 kB / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.542e-05/0.3189, allocations: 112.8 kB / 0.5228 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3189, allocations: 0 / 0.5228 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.3193, allocations: 41.08 kB / 0.5228 GB, free: 32.08 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001123/0.3204, allocations: 490.9 kB / 0.5233 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.3207, allocations: 94.58 kB / 0.5233 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3207, allocations: 0 / 0.5233 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3208, allocations: 51.22 kB / 0.5234 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3212, allocations: 25.72 kB / 0.5234 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.3217, allocations: 355.2 kB / 0.5238 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3218, allocations: 0.7079 MB / 0.5245 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.3219, allocations: 22.16 kB / 0.5245 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.3219, allocations: 15.44 kB / 0.5245 GB, free: 30.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.322, allocations: 0 / 0.5245 GB, free: 30.78 MB / 378.7 MB Notification: Performance of Templates: time 0.004223/0.3262, allocations: 1.879 MB / 0.5263 GB, free: 30.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches