Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 206 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.89 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3038, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003154/0.307, allocations: 1.66 MB / 0.5333 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3087, allocations: 1.193 MB / 0.5345 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.3089, allocations: 1.188 kB / 0.5345 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.3091, allocations: 31 kB / 0.5345 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.3094, allocations: 86.42 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.31, allocations: 181.4 kB / 0.5347 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3102, allocations: 78.58 kB / 0.5348 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3103, allocations: 21.45 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.3104, allocations: 32.19 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.3105, allocations: 36.53 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3106, allocations: 5.156 kB / 0.5349 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.3108, allocations: 104.2 kB / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.3109, allocations: 22.8 kB / 0.535 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.3109, allocations: 21.38 kB / 0.5351 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.3112, allocations: 153.2 kB / 0.5352 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3112, allocations: 0 / 0.5352 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3112, allocations: 5.375 kB / 0.5352 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3112, allocations: 0 / 0.5352 GB, free: 11.11 MB / 398.1 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.000576/0.3118, allocations: 415.2 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3119, allocations: 9.625 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.3119, allocations: 7.594 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3121, allocations: 195.2 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3122, allocations: 5.75 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3122, allocations: 1.75 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3124, allocations: 92.05 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3124, allocations: 0 / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3124, allocations: 0 / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3124, allocations: 1.375 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3126, allocations: 39.72 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3131, allocations: 312.6 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3132, allocations: 44.81 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.3133, allocations: 28.89 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.3134, allocations: 0.9062 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3134, allocations: 36.88 kB / 0.5363 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.3134, allocations: 4 kB / 0.5363 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008649/0.3143, allocations: 225.8 kB / 0.5366 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3143, allocations: 82.14 kB / 0.5366 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3145, allocations: 157.2 kB / 0.5368 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3145, allocations: 29.7 kB / 0.5368 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.3146, allocations: 95.39 kB / 0.5369 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3146, allocations: 27.14 kB / 0.5369 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3147, allocations: 20.25 kB / 0.537 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3148, allocations: 317 kB / 0.5373 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3149, allocations: 41.06 kB / 0.5373 GB, free: 9.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3151, allocations: 61.95 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.3153, allocations: 91.17 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3153, allocations: 3.938 kB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000311/0.3156, allocations: 124.8 kB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3157, allocations: 4.719 kB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3157, allocations: 1.219 kB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3157, allocations: 0 / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3158, allocations: 19.11 kB / 0.5376 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3158, allocations: 1.156 kB / 0.5376 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.3159, allocations: 21.61 kB / 0.5376 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3159, allocations: 1.938 kB / 0.5376 GB, free: 8.887 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 (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 8.706e-05/0.316, allocations: 127.4 kB / 0.5377 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3161, allocations: 8.812 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.3164, allocations: 137.7 kB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3165, allocations: 1.281 kB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3165, allocations: 1 kB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3165, allocations: 3.938 kB / 0.5379 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.3171, allocations: 414.3 kB / 0.5383 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3171, allocations: 0 / 0.5383 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.3172, allocations: 22.61 kB / 0.5383 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3172, allocations: 1.188 kB / 0.5383 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3172, allocations: 8.891 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3172, allocations: 1.062 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3172, allocations: 0 / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.3176, allocations: 228.6 kB / 0.5385 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.3176, allocations: 82.67 kB / 0.5386 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3177, allocations: 4.969 kB / 0.5386 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.3178, allocations: 10.61 kB / 0.5386 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3178, allocations: 6.5 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3178, allocations: 10.95 kB / 0.5386 GB, free: 7.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.368e-05/0.3179, allocations: 113 kB / 0.5387 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3179, allocations: 3.938 kB / 0.5387 GB, free: 7.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3182, allocations: 39.11 kB / 0.5388 GB, free: 7.852 MB / 398.1 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.001141/0.3194, allocations: 489.8 kB / 0.5393 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.3197, allocations: 87.84 kB / 0.5393 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3197, allocations: 5.5 kB / 0.5393 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3199, allocations: 55.92 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3202, allocations: 15.92 kB / 0.5394 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.3208, allocations: 237.5 kB / 0.5396 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3211, allocations: 0.6978 MB / 0.5403 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.3212, allocations: 19.7 kB / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of SimCode: time 3.226e-06/0.3212, allocations: 0 / 0.5403 GB, free: 6.609 MB / 398.1 MB Notification: Performance of Templates: time 0.004673/0.3258, allocations: 2.199 MB / 0.5425 GB, free: 5.469 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches