Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.CombiTable2Ds.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001545/0.001545, 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.001995/0.001996, 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.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 76.09 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002796/0.3194, allocations: 1.677 MB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.3204, allocations: 0.5462 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3204, allocations: 5.812 kB / 0.5339 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.3207, allocations: 59.16 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.321, allocations: 97.97 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3213, allocations: 133.2 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.3215, allocations: 87.48 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3216, allocations: 21.86 kB / 0.5343 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.3217, allocations: 38.95 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3218, allocations: 53.81 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3218, allocations: 4.125 kB / 0.5343 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3219, allocations: 48.98 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.322, allocations: 28.11 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.3221, allocations: 29.25 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3222, allocations: 110.2 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3223, allocations: 0 / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3223, allocations: 0 / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3223, allocations: 0 / 0.5345 GB, free: 11.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005088/0.3228, allocations: 424.2 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3228, allocations: 9.625 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3229, allocations: 8.969 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.323, allocations: 199 kB / 0.5352 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3231, allocations: 5.75 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.3231, allocations: 7.125 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3233, allocations: 67.66 kB / 0.5352 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3233, allocations: 5.281 kB / 0.5352 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3233, allocations: 3.938 kB / 0.5352 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3233, allocations: 1.375 kB / 0.5352 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3234, allocations: 41.78 kB / 0.5353 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.3238, allocations: 302 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3241, allocations: 58.39 kB / 0.5356 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.3242, allocations: 25.72 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3242, allocations: 5.359 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.3242, allocations: 30.56 kB / 0.5357 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3242, allocations: 4 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3257, allocations: 390 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3257, allocations: 56.44 kB / 0.5361 GB, free: 9.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3259, allocations: 190.4 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3259, allocations: 26.89 kB / 0.5363 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.326, allocations: 108.8 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.326, allocations: 39.75 kB / 0.5365 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.3261, allocations: 25.83 kB / 0.5365 GB, free: 9.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3262, allocations: 326.2 kB / 0.5368 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3263, allocations: 42.84 kB / 0.5368 GB, free: 9.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3264, allocations: 40.44 kB / 0.5369 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3267, allocations: 105.2 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3267, allocations: 0 / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003093/0.327, allocations: 140.8 kB / 0.5371 GB, free: 9.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3271, allocations: 5.125 kB / 0.5371 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3271, allocations: 5.281 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3271, allocations: 0 / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3272, allocations: 36.44 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3272, allocations: 1.062 kB / 0.5372 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.3273, allocations: 14.33 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3273, allocations: 2.781 kB / 0.5372 GB, free: 9.113 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 (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 8.889e-05/0.3274, allocations: 123 kB / 0.5373 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.3275, allocations: 8.969 kB / 0.5373 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.3278, allocations: 169.4 kB / 0.5375 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3279, allocations: 6.406 kB / 0.5375 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3279, allocations: 0 / 0.5375 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3279, allocations: 7.922 kB / 0.5375 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.3285, allocations: 478.9 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3285, allocations: 5.031 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3287, allocations: 28.53 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3287, allocations: 2.188 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3287, allocations: 1.031 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3287, allocations: 2.062 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3287, allocations: 1.062 kB / 0.538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.3291, allocations: 255.9 kB / 0.5382 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3291, allocations: 88.48 kB / 0.5383 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3292, allocations: 4.938 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3293, allocations: 19.08 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3293, allocations: 8.328 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3293, allocations: 3.406 kB / 0.5383 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3294, allocations: 143.1 kB / 0.5385 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3295, allocations: 1.25 kB / 0.5385 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000283/0.3297, allocations: 28.73 kB / 0.5385 GB, free: 7.98 MB / 398.1 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.001033/0.3308, allocations: 454.8 kB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.3311, allocations: 102.6 kB / 0.539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3311, allocations: 4 kB / 0.539 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3313, allocations: 63.39 kB / 0.5391 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3317, allocations: 33.02 kB / 0.5391 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.3323, allocations: 304.5 kB / 0.5394 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3326, allocations: 0.7123 MB / 0.5401 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3326, allocations: 19.08 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3326, allocations: 1 kB / 0.5401 GB, free: 6.688 MB / 398.1 MB Notification: Performance of Templates: time 0.003792/0.3364, allocations: 1.928 MB / 0.542 GB, free: 5.688 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches