Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001716, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.2164/0.2164, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3128, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002909/0.3158, allocations: 1.664 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3175, allocations: 1.196 MB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.3176, allocations: 5.375 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3178, allocations: 31.95 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3182, allocations: 85.69 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.3186, allocations: 176.9 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3187, allocations: 75.45 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3188, allocations: 17.61 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.3189, allocations: 40.16 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.3191, allocations: 39.47 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3191, allocations: 5.5 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3193, allocations: 100.1 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.3193, allocations: 26.78 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.3194, allocations: 25.36 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3196, allocations: 149 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3197, allocations: 0.9688 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3197, allocations: 0 / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3197, allocations: 0 / 0.5352 GB, free: 10.87 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.000517/0.3202, allocations: 419.3 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3202, allocations: 9.469 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.3203, allocations: 8.062 kB / 0.5356 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3205, allocations: 198.8 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3205, allocations: 1.531 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3205, allocations: 2.625 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3207, allocations: 78.8 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3208, allocations: 1.062 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3208, allocations: 0 / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3208, allocations: 4.969 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.321, allocations: 50.67 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.3215, allocations: 306.1 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3216, allocations: 48.58 kB / 0.5363 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/0.3217, allocations: 24.97 kB / 0.5363 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3217, allocations: 5.125 kB / 0.5363 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3217, allocations: 35.69 kB / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3217, allocations: 0 / 0.5364 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008945/0.3226, allocations: 234.4 kB / 0.5366 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3227, allocations: 78.23 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3229, allocations: 152.8 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3229, allocations: 25.7 kB / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.323, allocations: 99.41 kB / 0.5369 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.323, allocations: 23.09 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.323, allocations: 24.61 kB / 0.537 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3232, allocations: 325.1 kB / 0.5373 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3233, allocations: 40.5 kB / 0.5373 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3234, allocations: 54.28 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.3237, allocations: 92.28 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3237, allocations: 32 / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003481/0.3241, allocations: 127.7 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3241, allocations: 5.281 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3241, allocations: 1.344 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3241, allocations: 0 / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3242, allocations: 23.53 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3243, allocations: 0 / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.3243, allocations: 22.53 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3244, allocations: 1.375 kB / 0.5376 GB, free: 8.648 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 9.281e-05/0.3245, allocations: 119.8 kB / 0.5377 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.3245, allocations: 8.625 kB / 0.5377 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.3249, allocations: 138 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3249, allocations: 0.8125 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3249, allocations: 5.656 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3249, allocations: 7.938 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.3255, allocations: 409.8 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3255, allocations: 0 / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-05/0.3256, allocations: 22.95 kB / 0.5383 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3256, allocations: 1.156 kB / 0.5383 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3257, allocations: 7.938 kB / 0.5383 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3257, allocations: 1.094 kB / 0.5383 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3257, allocations: 0 / 0.5383 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.326, allocations: 224.1 kB / 0.5385 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.3261, allocations: 91.05 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3261, allocations: 9.078 kB / 0.5386 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.3262, allocations: 10.41 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3263, allocations: 7.078 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3263, allocations: 1.125 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.74e-05/0.3264, allocations: 121.2 kB / 0.5388 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.3264, allocations: 1 kB / 0.5388 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3267, allocations: 43.03 kB / 0.5388 GB, free: 7.609 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.001138/0.3279, allocations: 477.7 kB / 0.5393 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3282, allocations: 101.1 kB / 0.5394 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3282, allocations: 3.938 kB / 0.5394 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.3284, allocations: 48.06 kB / 0.5394 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.3287, allocations: 18.8 kB / 0.5394 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.3293, allocations: 242.3 kB / 0.5396 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3296, allocations: 0.7012 MB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.3297, allocations: 16.31 kB / 0.5403 GB, free: 6.371 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3297, allocations: 3.938 kB / 0.5404 GB, free: 6.367 MB / 398.1 MB Notification: Performance of Templates: time 0.004212/0.3339, allocations: 2.198 MB / 0.5425 GB, free: 5.223 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches