Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002294, 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.348/1.348, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 98.66 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3398/0.3398, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3114, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002681/0.3141, allocations: 1.713 MB / 0.5168 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3154, allocations: 1.145 MB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.3155, allocations: 0 / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.3156, allocations: 27.44 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3158, allocations: 68.3 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.3161, allocations: 107.2 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3162, allocations: 74.5 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.3163, allocations: 18.62 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.752e-05/0.3163, allocations: 22.53 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3165, allocations: 38.75 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3165, allocations: 2.812 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.3166, allocations: 96.94 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.3167, allocations: 12.7 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.3167, allocations: 25.62 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.3169, allocations: 143.6 kB / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3169, allocations: 0 / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3169, allocations: 0 / 0.5186 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3169, allocations: 4 kB / 0.5186 GB, free: 35.47 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.000398/0.3173, allocations: 410.1 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.3173, allocations: 9.656 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3174, allocations: 7.812 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3175, allocations: 191.4 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.3175, allocations: 384 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3176, allocations: 7.312 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3177, allocations: 86.84 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3177, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3178, allocations: 0 / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3178, allocations: 2.906 kB / 0.5192 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3179, allocations: 30.62 kB / 0.5193 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.3181, allocations: 293.9 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.3183, allocations: 42.23 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.3183, allocations: 22.52 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.3183, allocations: 2.75 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.3184, allocations: 38.39 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3184, allocations: 0 / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006249/0.319, allocations: 204.5 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.319, allocations: 79.89 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3191, allocations: 156 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.3192, allocations: 32.61 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.3192, allocations: 95.11 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3192, allocations: 29.92 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.3193, allocations: 19.72 kB / 0.5202 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.879e-05/0.3193, allocations: 318.2 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.3194, allocations: 31.3 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.3195, allocations: 56.23 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3197, allocations: 71.02 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3197, allocations: 2.906 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002231/0.3199, allocations: 108.1 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3199, allocations: 9.875 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3199, allocations: 3.984 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.32, allocations: 0 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.3201, allocations: 20.28 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.3201, allocations: 0 / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.3201, allocations: 12.92 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.3201, allocations: 2.812 kB / 0.5209 GB, free: 33.5 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 5.26e-05/0.3202, allocations: 120.3 kB / 0.521 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3202, allocations: 14.62 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.3205, allocations: 127 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3205, allocations: 0 / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3205, allocations: 0 / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3205, allocations: 3.938 kB / 0.5211 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.3209, allocations: 403 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3209, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.321, allocations: 17.28 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.321, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.321, allocations: 6.375 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.321, allocations: 3.234 kB / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.321, allocations: 0 / 0.5215 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3215, allocations: 0.7975 MB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3215, allocations: 87.55 kB / 0.5224 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3216, allocations: 3.891 kB / 0.5224 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.3217, allocations: 9.062 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.3217, allocations: 8.328 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3217, allocations: 0 / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.713e-05/0.3218, allocations: 118 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3218, allocations: 3.938 kB / 0.5225 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.3221, allocations: 44.38 kB / 0.5226 GB, free: 31.98 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.0008387/0.323, allocations: 491.8 kB / 0.523 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3232, allocations: 80.7 kB / 0.5231 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3232, allocations: 3.938 kB / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.3233, allocations: 44.66 kB / 0.5232 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.3236, allocations: 21.55 kB / 0.5232 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.324, allocations: 336.9 kB / 0.5235 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3241, allocations: 0.6944 MB / 0.5242 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.3242, allocations: 19.22 kB / 0.5242 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.3242, allocations: 16.41 kB / 0.5242 GB, free: 30.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3242, allocations: 0 / 0.5242 GB, free: 30.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003488/0.3277, allocations: 1.853 MB / 0.526 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches