Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001268, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 79.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3337, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003168/0.3369, allocations: 1.649 MB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.3377, allocations: 0.6866 MB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.3378, allocations: 0 / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.338, allocations: 30.77 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.3382, allocations: 36.81 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.3382, allocations: 0 / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3384, allocations: 40.39 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.3384, allocations: 2.75 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.3384, allocations: 8.062 kB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.3385, allocations: 24.09 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.3385, allocations: 3.938 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.3386, allocations: 10.88 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.3386, allocations: 16.17 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3387, allocations: 21.31 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3388, allocations: 70.8 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3388, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3388, allocations: 4 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3388, allocations: 0 / 0.5331 GB, free: 11.41 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003401/0.3392, allocations: 368.9 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3392, allocations: 10.03 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.3392, allocations: 45.88 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3393, allocations: 7.375 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3394, allocations: 167.3 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3394, allocations: 1.781 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.3394, allocations: 1.875 kB / 0.5336 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.3396, allocations: 125.7 kB / 0.5338 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3396, allocations: 4.969 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3397, allocations: 12.89 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.3397, allocations: 23.83 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.3398, allocations: 43.42 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.3404, allocations: 0.8892 MB / 0.5347 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.539e-05/0.3405, allocations: 174.3 kB / 0.5349 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.3405, allocations: 85.36 kB / 0.535 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3406, allocations: 75.28 kB / 0.535 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.3406, allocations: 111.1 kB / 0.5351 GB, free: 9.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3406, allocations: 0 / 0.5351 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.542e-05/0.3407, allocations: 41.64 kB / 0.5352 GB, free: 9.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.3408, allocations: 126.7 kB / 0.5353 GB, free: 9.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3409, allocations: 189.5 kB / 0.5355 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3409, allocations: 27.17 kB / 0.5355 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.341, allocations: 150.2 kB / 0.5356 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.341, allocations: 2.812 kB / 0.5356 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3411, allocations: 40.12 kB / 0.5357 GB, free: 8.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.3412, allocations: 321.2 kB / 0.536 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.3413, allocations: 43.11 kB / 0.536 GB, free: 8.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.3414, allocations: 153 kB / 0.5362 GB, free: 8.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3416, allocations: 204.5 kB / 0.5364 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3416, allocations: 0 / 0.5364 GB, free: 7.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002806/0.3419, allocations: 201.7 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3419, allocations: 7.438 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3419, allocations: 5 kB / 0.5366 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3419, allocations: 13.31 kB / 0.5366 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.342, allocations: 44.73 kB / 0.5366 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3421, allocations: 9.484 kB / 0.5366 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.3421, allocations: 25.38 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3422, allocations: 9.625 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001099/0.3423, allocations: 213.4 kB / 0.5369 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.3423, allocations: 116.9 kB / 0.537 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.3424, allocations: 118.1 kB / 0.5371 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-05/0.3425, allocations: 184.2 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-05/0.3425, allocations: 185.7 kB / 0.5375 GB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.3426, allocations: 177.6 kB / 0.5376 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3428, allocations: 429.5 kB / 0.538 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.3428, allocations: 105 kB / 0.5381 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.3429, allocations: 106.4 kB / 0.5382 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.074e-05/0.3429, allocations: 181.6 kB / 0.5384 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.343, allocations: 176.3 kB / 0.5386 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.974e-05/0.343, allocations: 185.6 kB / 0.5388 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.985e-05/0.3431, allocations: 177.6 kB / 0.5389 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.3432, allocations: 318.5 kB / 0.5392 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.3433, allocations: 184.8 kB / 0.5394 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.3433, allocations: 189.6 kB / 0.5396 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.3434, allocations: 101 kB / 0.5397 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3435, allocations: 185.6 kB / 0.5399 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3435, allocations: 106.4 kB / 0.54 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.698e-05/0.3436, allocations: 129 kB / 0.5401 GB, free: 4.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3436, allocations: 0 / 0.5401 GB, free: 4.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3439, allocations: 16.38 kB / 0.5401 GB, free: 4.16 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 (0): * Single equations (assignments): 0 * 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.0006503/0.3445, allocations: 0.912 MB / 0.541 GB, free: 3.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3447, allocations: 73.03 kB / 0.5411 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3447, allocations: 0 / 0.5411 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.3447, allocations: 2.625 kB / 0.5411 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.345, allocations: 466.4 kB / 0.5415 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3465, allocations: 1.876 MB / 0.5433 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3467, allocations: 0.6992 MB / 0.544 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.3469, allocations: 54.31 kB / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.347, allocations: 26.02 kB / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.347, allocations: 0 / 0.5441 GB, free: 220 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.3654, allocations: 2.117 MB / 0.5462 GB, free: 15.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.749, allocations: 5.719 kB / 0.5462 GB, free: 15.03 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches