Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003249/0.00325, allocations: 75.88 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3769, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003198/0.3801, allocations: 1.685 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3813, allocations: 0.5722 MB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.3814, allocations: 1.375 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.3816, allocations: 53.86 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.382, allocations: 91.41 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.3824, allocations: 189.7 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3826, allocations: 88.16 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3827, allocations: 22.69 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.3828, allocations: 38.16 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3829, allocations: 47.27 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.383, allocations: 4.938 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3831, allocations: 43.89 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.3831, allocations: 20.8 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.3832, allocations: 46.59 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3834, allocations: 118.9 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3835, allocations: 0 / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3835, allocations: 5.375 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3835, allocations: 0 / 0.5336 GB, free: 11.13 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.000635/0.3841, allocations: 419.7 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3842, allocations: 13.61 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.3842, allocations: 36.12 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3843, allocations: 14.34 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3845, allocations: 203.1 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3845, allocations: 3.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3845, allocations: 11.12 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3847, allocations: 68.84 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3848, allocations: 0 / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3848, allocations: 1.375 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3848, allocations: 1.375 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.3849, allocations: 48.64 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.3855, allocations: 328.6 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3857, allocations: 60.7 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.3858, allocations: 29.28 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3859, allocations: 1.375 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3859, allocations: 39.88 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3859, allocations: 4 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001558/0.3875, allocations: 425.4 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.3876, allocations: 52.88 kB / 0.5353 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3878, allocations: 179.3 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.3878, allocations: 30.83 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.3879, allocations: 110 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.388, allocations: 39.48 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.388, allocations: 26.53 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3882, allocations: 322.2 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3884, allocations: 56.05 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3885, allocations: 57.3 kB / 0.5361 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3888, allocations: 127.8 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3888, allocations: 1.219 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003649/0.3892, allocations: 155.8 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3892, allocations: 5.25 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3893, allocations: 1.219 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3893, allocations: 7.938 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3894, allocations: 32.62 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3894, allocations: 5.328 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.3895, allocations: 14.17 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3895, allocations: 2.562 kB / 0.5364 GB, free: 8.727 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.0001275/0.3896, allocations: 127 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.3897, allocations: 14.09 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.3901, allocations: 190.5 kB / 0.5367 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.3902, allocations: 5.406 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3902, allocations: 0 / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3902, allocations: 9.375 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.391, allocations: 0.4972 MB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.391, allocations: 0 / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3911, allocations: 36.69 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3911, allocations: 1.25 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3912, allocations: 2.875 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3912, allocations: 1.375 kB / 0.5373 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3912, allocations: 288 / 0.5373 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.3917, allocations: 289.3 kB / 0.5375 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.3918, allocations: 92.23 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.3918, allocations: 10.3 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3919, allocations: 10.66 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.392, allocations: 12.3 kB / 0.5376 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.392, allocations: 3.344 kB / 0.5377 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3922, allocations: 145.6 kB / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3922, allocations: 0 / 0.5378 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3925, allocations: 26.5 kB / 0.5378 GB, free: 7.535 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.002431/0.3949, allocations: 1.153 MB / 0.5389 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.3953, allocations: 131.8 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3953, allocations: 1.219 kB / 0.5391 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.3955, allocations: 70.89 kB / 0.5391 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3959, allocations: 28.72 kB / 0.5392 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.3987, allocations: 1.897 MB / 0.541 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.3992, allocations: 0.7144 MB / 0.5417 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.3993, allocations: 35.58 kB / 0.5417 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.3994, allocations: 39.2 kB / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3994, allocations: 0 / 0.5418 GB, free: 4.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.4294, allocations: 3.443 MB / 0.5451 GB, free: 2.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.603, allocations: 11.77 kB / 0.5452 GB, free: 2.336 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches