Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, 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.383/1.383, 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.001173/0.001173, allocations: 99.88 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3518/0.3518, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3129, allocations: 62.02 MB / 0.5151 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002416/0.3154, allocations: 1.731 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.3161, allocations: 0.5507 MB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.3161, allocations: 2.875 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.3163, allocations: 42.55 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3165, allocations: 77.98 kB / 0.5175 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3168, allocations: 114.8 kB / 0.5176 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3169, allocations: 74.58 kB / 0.5177 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.317, allocations: 24.02 kB / 0.5177 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.3171, allocations: 33.55 kB / 0.5177 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.3171, allocations: 37.22 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3172, allocations: 2.812 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.3172, allocations: 47.47 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3173, allocations: 22.94 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3173, allocations: 25.84 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3175, allocations: 107.5 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3175, allocations: 0 / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3175, allocations: 0 / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.3175, allocations: 4 kB / 0.518 GB, free: 35.95 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.0003616/0.3179, allocations: 412 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3179, allocations: 9.875 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3179, allocations: 10.66 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3181, allocations: 201.5 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3181, allocations: 7.312 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3181, allocations: 10.83 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3183, allocations: 65.5 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3183, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3183, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.3183, allocations: 2.938 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3184, allocations: 38.09 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.3187, allocations: 301.1 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3189, allocations: 58.42 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.319, allocations: 28.33 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.319, allocations: 0 / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3191, allocations: 30.66 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3191, allocations: 7.656 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001214/0.3203, allocations: 396.7 kB / 0.5195 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3203, allocations: 55.34 kB / 0.5195 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3204, allocations: 175.8 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.3205, allocations: 25.7 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.3205, allocations: 100.7 kB / 0.5198 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3205, allocations: 37.12 kB / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3206, allocations: 28.83 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.3206, allocations: 320.9 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3207, allocations: 40.55 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3208, allocations: 43.86 kB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.3211, allocations: 109.9 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3211, allocations: 0 / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002612/0.3214, allocations: 143.2 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3214, allocations: 2.594 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3214, allocations: 6.594 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3214, allocations: 0 / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.3215, allocations: 30.95 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3215, allocations: 0 / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.3216, allocations: 13.09 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3216, allocations: 2.875 kB / 0.5206 GB, free: 33.91 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 6.315e-05/0.3217, allocations: 123.1 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.3217, allocations: 13.25 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.322, allocations: 165.3 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3221, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3221, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3221, allocations: 2.656 kB / 0.5209 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3226, allocations: 475.9 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3226, allocations: 0 / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.3227, allocations: 27.66 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3227, allocations: 6.906 kB / 0.5213 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3227, allocations: 0 / 0.5213 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3227, allocations: 6.094 kB / 0.5213 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3227, allocations: 96 / 0.5213 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.3232, allocations: 0.8552 MB / 0.5222 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3233, allocations: 84.23 kB / 0.5223 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3233, allocations: 15.47 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.3234, allocations: 8.656 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3234, allocations: 13.55 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3234, allocations: 7 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.3235, allocations: 130.6 kB / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3235, allocations: 0 / 0.5224 GB, free: 32.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.3238, allocations: 24.36 kB / 0.5224 GB, free: 32.32 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.0009055/0.3248, allocations: 461.3 kB / 0.5229 GB, free: 32.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.3251, allocations: 111 kB / 0.523 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3251, allocations: 0 / 0.523 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3252, allocations: 62.08 kB / 0.5231 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3255, allocations: 18.91 kB / 0.5231 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.326, allocations: 427 kB / 0.5235 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3261, allocations: 0.7086 MB / 0.5242 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.3262, allocations: 24.58 kB / 0.5242 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.3262, allocations: 19.56 kB / 0.5242 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3262, allocations: 0 / 0.5242 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003037/0.3292, allocations: 1.475 MB / 0.5257 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches