Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, 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.347/1.347, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 105.7 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.3547/0.3547, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003717/0.3146, allocations: 1.723 MB / 0.5168 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009396/0.3156, allocations: 0.571 MB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.3156, allocations: 0 / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.3161, allocations: 465.1 kB / 0.5178 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3164, allocations: 270.2 kB / 0.5181 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3168, allocations: 162.7 kB / 0.5183 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.3171, allocations: 178.1 kB / 0.5184 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3172, allocations: 19.94 kB / 0.5184 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3174, allocations: 111 kB / 0.5185 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.3176, allocations: 208.1 kB / 0.5187 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3176, allocations: 2.906 kB / 0.5187 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3177, allocations: 40.39 kB / 0.5188 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3179, allocations: 91.23 kB / 0.5189 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.3179, allocations: 104.3 kB / 0.519 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3182, allocations: 266.8 kB / 0.5192 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3182, allocations: 4 kB / 0.5192 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3182, allocations: 3.094 kB / 0.5192 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3182, allocations: 0 / 0.5192 GB, free: 35.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005391/0.3187, allocations: 0.6501 MB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3188, allocations: 8.531 kB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.3188, allocations: 44.38 kB / 0.5199 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3191, allocations: 302.2 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3191, allocations: 3.281 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3191, allocations: 3.281 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3193, allocations: 69.41 kB / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3193, allocations: 0 / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3193, allocations: 0 / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3193, allocations: 2.906 kB / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3194, allocations: 35.72 kB / 0.5203 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.3199, allocations: 405.4 kB / 0.5207 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.409e-05/0.32, allocations: 58.09 kB / 0.5208 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.32, allocations: 17.61 kB / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3201, allocations: 3.422 kB / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.3201, allocations: 30.56 kB / 0.5208 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3201, allocations: 0 / 0.5208 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008484/0.3209, allocations: 315.3 kB / 0.5211 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.321, allocations: 62.02 kB / 0.5212 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/0.3217, allocations: 0.8685 MB / 0.522 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3217, allocations: 25.7 kB / 0.522 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3218, allocations: 230.5 kB / 0.5223 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3218, allocations: 26.55 kB / 0.5223 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3219, allocations: 25.84 kB / 0.5223 GB, free: 33.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.322, allocations: 356.5 kB / 0.5226 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.3221, allocations: 32.47 kB / 0.5227 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.3221, allocations: 33.2 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3223, allocations: 78.53 kB / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3223, allocations: 6.156 kB / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002175/0.3225, allocations: 141 kB / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3225, allocations: 5.031 kB / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3226, allocations: 0 / 0.5229 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3226, allocations: 3.938 kB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.3227, allocations: 18.08 kB / 0.523 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3227, allocations: 3.938 kB / 0.523 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.3227, allocations: 8.141 kB / 0.523 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3228, allocations: 4 kB / 0.523 GB, free: 33.12 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 (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 0.0001638/0.3229, allocations: 221.1 kB / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.323, allocations: 44.44 kB / 0.5232 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3233, allocations: 169.2 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3233, allocations: 0 / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3233, allocations: 7.406 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3233, allocations: 6.656 kB / 0.5234 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.3239, allocations: 0.5191 MB / 0.5239 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3239, allocations: 3.938 kB / 0.5239 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.324, allocations: 22.38 kB / 0.5239 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.324, allocations: 0 / 0.5239 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.324, allocations: 6.438 kB / 0.5239 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.324, allocations: 4 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.324, allocations: 0 / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.3245, allocations: 0.9193 MB / 0.5248 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3246, allocations: 112.9 kB / 0.5249 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.3246, allocations: 2.812 kB / 0.5249 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.3247, allocations: 6.234 kB / 0.525 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3247, allocations: 5.609 kB / 0.525 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3247, allocations: 6.875 kB / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000547/0.3253, allocations: 0.6574 MB / 0.5256 GB, free: 31.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3253, allocations: 0 / 0.5256 GB, free: 31.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.3256, allocations: 31.22 kB / 0.5256 GB, free: 31.27 MB / 378.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 (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.0009303/0.3266, allocations: 450.4 kB / 0.5261 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.3268, allocations: 73.42 kB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3268, allocations: 4 kB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.3269, allocations: 46.94 kB / 0.5262 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3273, allocations: 28.41 kB / 0.5262 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000982/0.3283, allocations: 1.038 MB / 0.5272 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3285, allocations: 0.8426 MB / 0.528 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.3286, allocations: 22.34 kB / 0.5281 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3286, allocations: 16.34 kB / 0.5281 GB, free: 29.67 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3286, allocations: 0 / 0.5281 GB, free: 29.67 MB / 378.7 MB Notification: Performance of Templates: time 0.004446/0.3331, allocations: 1.736 MB / 0.5298 GB, free: 29.45 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches