Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 179.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2061/0.2061, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 56.14 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002956/0.3394, allocations: 1.617 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.34, allocations: 423.8 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.3401, allocations: 1 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3403, allocations: 37.44 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3405, allocations: 39.22 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3408, allocations: 114.8 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.341, allocations: 81.77 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3411, allocations: 28.5 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.3411, allocations: 28.36 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3412, allocations: 34.92 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3413, allocations: 4.406 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.3414, allocations: 48.81 kB / 0.5213 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.3414, allocations: 18.64 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.3415, allocations: 40.3 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3417, allocations: 103.6 kB / 0.5215 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3417, allocations: 0 / 0.5215 GB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3417, allocations: 4 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3417, allocations: 0 / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003919/0.3421, allocations: 400.2 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3421, allocations: 10 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3422, allocations: 17.44 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3423, allocations: 198.5 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.3423, allocations: 2.344 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.3423, allocations: 4.875 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3425, allocations: 89.77 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3425, allocations: 8.984 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3425, allocations: 0.75 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3425, allocations: 1.938 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3427, allocations: 41.36 kB / 0.5222 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.343, allocations: 332.2 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3432, allocations: 66.92 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.3432, allocations: 27.86 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.3433, allocations: 2 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.3433, allocations: 43.81 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3433, allocations: 0 / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009735/0.3443, allocations: 325.1 kB / 0.523 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3443, allocations: 53.14 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3444, allocations: 155.2 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.3444, allocations: 27.53 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3445, allocations: 98.31 kB / 0.5233 GB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3445, allocations: 48.77 kB / 0.5233 GB, free: 376 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3446, allocations: 29.3 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.3446, allocations: 322.1 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3447, allocations: 43.56 kB / 0.5237 GB, free: 16 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.3448, allocations: 44.95 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3451, allocations: 112.2 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3451, allocations: 4 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002613/0.3453, allocations: 153.7 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3454, allocations: 5.078 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3454, allocations: 5.406 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3454, allocations: 0 / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3455, allocations: 30.08 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3455, allocations: 0.6562 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.3456, allocations: 5.531 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3456, allocations: 11.36 kB / 0.5241 GB, free: 15.86 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 8.713e-05/0.3457, allocations: 132.3 kB / 0.5242 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.3457, allocations: 9.062 kB / 0.5242 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.3461, allocations: 180.7 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3461, allocations: 2.375 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3461, allocations: 4.547 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3461, allocations: 0.7969 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.3468, allocations: 494.7 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3468, allocations: 0 / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-05/0.3469, allocations: 25.42 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3469, allocations: 4 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3469, allocations: 6.469 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3469, allocations: 2.234 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3469, allocations: 3.938 kB / 0.5249 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3472, allocations: 257.8 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3473, allocations: 84.88 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3473, allocations: 6.219 kB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.3474, allocations: 5.375 kB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.3474, allocations: 8.656 kB / 0.5252 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3474, allocations: 11.25 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.552e-05/0.3475, allocations: 118.1 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3475, allocations: 1.25 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3478, allocations: 26.52 kB / 0.5254 GB, free: 14.86 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.0009764/0.3488, allocations: 461.4 kB / 0.5258 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.3491, allocations: 114.8 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3491, allocations: 0 / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3493, allocations: 64.45 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.3497, allocations: 17.39 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.3503, allocations: 256.2 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.3507, allocations: 0.7133 MB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.987e-05/0.3508, allocations: 25.67 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.3509, allocations: 20.91 kB / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3509, allocations: 0 / 0.527 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.004573/0.3554, allocations: 1.572 MB / 0.5285 GB, free: 13.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches