Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, 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.313/1.313, 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.0009149/0.0009147, allocations: 104.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3775/0.3775, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3159, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002779/0.3188, allocations: 1.733 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008195/0.3196, allocations: 0.5553 MB / 0.5174 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.3197, allocations: 6.656 kB / 0.5174 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.3202, allocations: 448.1 kB / 0.5178 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.3205, allocations: 272.9 kB / 0.5181 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.3208, allocations: 126.7 kB / 0.5182 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.321, allocations: 171.2 kB / 0.5184 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3211, allocations: 20 kB / 0.5184 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.94e-05/0.3212, allocations: 105.4 kB / 0.5185 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3214, allocations: 210.7 kB / 0.5187 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3214, allocations: 2.875 kB / 0.5187 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.3215, allocations: 55.64 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.3216, allocations: 82.5 kB / 0.5188 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.3217, allocations: 104 kB / 0.5189 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3219, allocations: 269.8 kB / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3219, allocations: 3.406 kB / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3219, allocations: 0 / 0.5192 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3219, allocations: 0 / 0.5192 GB, free: 35.72 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.0006026/0.3225, allocations: 0.6529 MB / 0.5198 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3226, allocations: 8.656 kB / 0.5198 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3226, allocations: 42.97 kB / 0.5199 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3229, allocations: 302.5 kB / 0.5202 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3229, allocations: 3.75 kB / 0.5202 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3229, allocations: 3.219 kB / 0.5202 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3231, allocations: 67.94 kB / 0.5202 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3231, allocations: 0 / 0.5202 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3231, allocations: 4 kB / 0.5202 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3231, allocations: 0 / 0.5202 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3232, allocations: 41.08 kB / 0.5203 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3237, allocations: 394.9 kB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3239, allocations: 56.7 kB / 0.5207 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.324, allocations: 27.58 kB / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.324, allocations: 2.969 kB / 0.5207 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.324, allocations: 34.5 kB / 0.5208 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.041e-06/0.324, allocations: 0 / 0.5208 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001294/0.3253, allocations: 468.3 kB / 0.5212 GB, free: 34.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3254, allocations: 55.34 kB / 0.5213 GB, free: 34.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.3261, allocations: 0.8667 MB / 0.5221 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.3261, allocations: 29.7 kB / 0.5221 GB, free: 33.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3262, allocations: 214.9 kB / 0.5223 GB, free: 33.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3262, allocations: 33.62 kB / 0.5224 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3263, allocations: 27.14 kB / 0.5224 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.3264, allocations: 361.8 kB / 0.5227 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3265, allocations: 38.64 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3266, allocations: 50.34 kB / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.3268, allocations: 104.4 kB / 0.5229 GB, free: 33.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3268, allocations: 0 / 0.5229 GB, free: 33.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002788/0.3271, allocations: 169.8 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3271, allocations: 2.812 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3271, allocations: 4 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3271, allocations: 2.781 kB / 0.5231 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3273, allocations: 34.56 kB / 0.5231 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3273, allocations: 4 kB / 0.5231 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.3273, allocations: 9.312 kB / 0.5231 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3274, allocations: 10.8 kB / 0.5232 GB, free: 33.05 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 (11): * Single equations (assignments): 11 * 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.0001546/0.3275, allocations: 214.5 kB / 0.5234 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.3276, allocations: 46.03 kB / 0.5234 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.328, allocations: 202.5 kB / 0.5236 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.328, allocations: 3.938 kB / 0.5236 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.328, allocations: 0 / 0.5236 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.328, allocations: 7.375 kB / 0.5236 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.3287, allocations: 0.5628 MB / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3287, allocations: 0 / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.3288, allocations: 28.05 kB / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3288, allocations: 3.156 kB / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3288, allocations: 3.375 kB / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3288, allocations: 2.719 kB / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3289, allocations: 0 / 0.5242 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.3295, allocations: 0.9673 MB / 0.5251 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3295, allocations: 111.7 kB / 0.5252 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.3296, allocations: 6.75 kB / 0.5253 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.3297, allocations: 13.02 kB / 0.5253 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.3297, allocations: 20.36 kB / 0.5253 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3298, allocations: 6.438 kB / 0.5253 GB, free: 31.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.3302, allocations: 0.6513 MB / 0.5259 GB, free: 31.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3302, allocations: 0 / 0.5259 GB, free: 31.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000352/0.3306, allocations: 35.03 kB / 0.526 GB, free: 31.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009029/0.3315, allocations: 452.5 kB / 0.5264 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.3318, allocations: 107.6 kB / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3318, allocations: 4 kB / 0.5265 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.332, allocations: 61.45 kB / 0.5266 GB, free: 30.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3324, allocations: 25.92 kB / 0.5266 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3334, allocations: 1.067 MB / 0.5276 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3337, allocations: 0.8296 MB / 0.5284 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.3338, allocations: 24.09 kB / 0.5285 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3338, allocations: 13.25 kB / 0.5285 GB, free: 29.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3338, allocations: 3.938 kB / 0.5285 GB, free: 29.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004533/0.3383, allocations: 1.791 MB / 0.5302 GB, free: 29.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches