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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 76.06 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002979/0.3163, allocations: 1.683 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.3173, allocations: 0.5497 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.3174, allocations: 5.312 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.3176, allocations: 60.55 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3179, allocations: 93.97 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.3182, allocations: 138.7 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3184, allocations: 86.75 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.725e-05/0.3185, allocations: 21.59 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.3186, allocations: 38 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.3187, allocations: 45.39 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3187, allocations: 4.875 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.3188, allocations: 52.36 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.3189, allocations: 29.05 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.3189, allocations: 30.22 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3191, allocations: 121.4 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3192, allocations: 1.156 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3192, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3192, allocations: 0 / 0.5335 GB, free: 11.18 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.0005438/0.3197, allocations: 428.7 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3198, allocations: 8.75 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3198, allocations: 36.91 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.3199, allocations: 13.31 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3201, allocations: 204 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3201, allocations: 5.5 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3201, allocations: 8.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3203, allocations: 70.72 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3203, allocations: 1.438 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3203, allocations: 3.938 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3203, allocations: 1.688 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3205, allocations: 39.38 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.3209, allocations: 309.6 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3211, allocations: 55.62 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.3212, allocations: 24.09 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3212, allocations: 9.344 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3213, allocations: 36.02 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3213, allocations: 0 / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001424/0.3227, allocations: 404.8 kB / 0.5351 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3228, allocations: 58.14 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.3229, allocations: 194.5 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.323, allocations: 31.08 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.323, allocations: 101.6 kB / 0.5355 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.3231, allocations: 39.8 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.3232, allocations: 32.58 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3233, allocations: 323 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3234, allocations: 43.34 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3235, allocations: 40.28 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.3238, allocations: 111.7 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3238, allocations: 0 / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003127/0.3241, allocations: 140.1 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3242, allocations: 4.75 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3242, allocations: 0 / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3242, allocations: 4.906 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3243, allocations: 28.16 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3243, allocations: 5 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.3244, allocations: 13.88 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3244, allocations: 6.828 kB / 0.5362 GB, free: 8.812 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 0.0001045/0.3245, allocations: 123.1 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.3246, allocations: 14.38 kB / 0.5364 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.325, allocations: 166.6 kB / 0.5365 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.325, allocations: 5.156 kB / 0.5365 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.325, allocations: 0 / 0.5365 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.325, allocations: 5.047 kB / 0.5365 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.3257, allocations: 472.1 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3257, allocations: 5.438 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3258, allocations: 31.47 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.3258, allocations: 6.234 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3258, allocations: 5.219 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3258, allocations: 2.312 kB / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3258, allocations: 192 / 0.537 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3262, allocations: 256.2 kB / 0.5373 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.3263, allocations: 96.62 kB / 0.5374 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3263, allocations: 6.312 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.3264, allocations: 9.469 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3265, allocations: 12.98 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3265, allocations: 7.875 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3266, allocations: 146 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3266, allocations: 1.156 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3269, allocations: 30.05 kB / 0.5376 GB, free: 7.664 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.002166/0.3291, allocations: 1.135 MB / 0.5387 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.3294, allocations: 105.8 kB / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3294, allocations: 0 / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3296, allocations: 62.92 kB / 0.5389 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.33, allocations: 23.84 kB / 0.5389 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.3323, allocations: 1.822 MB / 0.5407 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3327, allocations: 0.7048 MB / 0.5413 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.3328, allocations: 22.47 kB / 0.5414 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3329, allocations: 39.08 kB / 0.5414 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3329, allocations: 0 / 0.5414 GB, free: 4.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3565, allocations: 3.357 MB / 0.5447 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.046, allocations: 16.31 kB / 0.5447 GB, free: 2.59 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > 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