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.001257/0.001257, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 199.9 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.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002948/0.3295, allocations: 1.649 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.3304, allocations: 0.6805 MB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.3304, allocations: 1.031 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.3307, allocations: 35.08 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3308, allocations: 37.41 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.409e-06/0.3309, allocations: 4 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.331, allocations: 36.42 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.3311, allocations: 1.656 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.3311, allocations: 9.594 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.3312, allocations: 19.09 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3312, allocations: 5.688 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.3312, allocations: 9.312 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.3313, allocations: 20.86 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.3313, allocations: 21.19 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3315, allocations: 71.08 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3315, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3315, allocations: 1.344 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3315, allocations: 0 / 0.5332 GB, free: 11.38 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.0003852/0.3319, allocations: 371.7 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3319, allocations: 10.12 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.332, allocations: 39.09 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.332, allocations: 11.09 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3321, allocations: 174 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3322, allocations: 7 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.3322, allocations: 7.578 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3324, allocations: 124 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3324, allocations: 3.938 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3324, allocations: 3.344 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.3324, allocations: 25.73 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.3325, allocations: 47.22 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.3332, allocations: 0.8817 MB / 0.5348 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.3333, allocations: 170.5 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.3333, allocations: 85.45 kB / 0.5351 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.3333, allocations: 75.28 kB / 0.5351 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.3334, allocations: 111.2 kB / 0.5352 GB, free: 9.203 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3334, allocations: 4 kB / 0.5352 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.693e-05/0.3335, allocations: 45.66 kB / 0.5353 GB, free: 9.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.3336, allocations: 126.7 kB / 0.5354 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3337, allocations: 186.2 kB / 0.5356 GB, free: 8.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3338, allocations: 25.7 kB / 0.5356 GB, free: 8.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.3339, allocations: 151.8 kB / 0.5358 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-06/0.3339, allocations: 5.359 kB / 0.5358 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.3339, allocations: 40.8 kB / 0.5358 GB, free: 8.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3341, allocations: 325.6 kB / 0.5361 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/0.3341, allocations: 31.23 kB / 0.5361 GB, free: 8.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3342, allocations: 152.6 kB / 0.5363 GB, free: 8.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3345, allocations: 207.6 kB / 0.5365 GB, free: 7.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3345, allocations: 1.375 kB / 0.5365 GB, free: 7.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002814/0.3348, allocations: 201.4 kB / 0.5367 GB, free: 7.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3348, allocations: 10.22 kB / 0.5367 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3348, allocations: 11.81 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3348, allocations: 9.906 kB / 0.5367 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3349, allocations: 40.39 kB / 0.5367 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.335, allocations: 10.27 kB / 0.5368 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.3351, allocations: 24.14 kB / 0.5368 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3351, allocations: 9.219 kB / 0.5368 GB, free: 7.762 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.000124/0.3352, allocations: 210.5 kB / 0.537 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.3353, allocations: 117.5 kB / 0.5371 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.3354, allocations: 124.8 kB / 0.5372 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.297e-05/0.3354, allocations: 177.6 kB / 0.5374 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.812e-05/0.3355, allocations: 193.6 kB / 0.5376 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.185e-05/0.3356, allocations: 177.7 kB / 0.5377 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.3359, allocations: 424.6 kB / 0.5381 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.3359, allocations: 110.2 kB / 0.5383 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.336, allocations: 101 kB / 0.5384 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-05/0.336, allocations: 185.3 kB / 0.5385 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.543e-05/0.3361, allocations: 177.8 kB / 0.5387 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.382e-05/0.3362, allocations: 177.3 kB / 0.5389 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-05/0.3363, allocations: 185.6 kB / 0.539 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.3364, allocations: 321.1 kB / 0.5393 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.3365, allocations: 185.2 kB / 0.5395 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.535e-05/0.3366, allocations: 189.5 kB / 0.5397 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.3367, allocations: 102.3 kB / 0.5398 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3368, allocations: 180.3 kB / 0.54 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.3369, allocations: 110.1 kB / 0.5401 GB, free: 4.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.337, allocations: 130.2 kB / 0.5402 GB, free: 4.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.337, allocations: 0 / 0.5402 GB, free: 4.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.3373, allocations: 15.56 kB / 0.5402 GB, free: 4.117 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.0009247/0.3382, allocations: 0.9158 MB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3383, allocations: 70.25 kB / 0.5412 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3383, allocations: 1.25 kB / 0.5412 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/0.3384, allocations: 5.125 kB / 0.5412 GB, free: 3.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3387, allocations: 470 kB / 0.5416 GB, free: 2.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3404, allocations: 1.879 MB / 0.5435 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3408, allocations: 0.6994 MB / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.341, allocations: 50.36 kB / 0.5442 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.341, allocations: 22.22 kB / 0.5442 GB, free: 172 kB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.341, allocations: 0 / 0.5442 GB, free: 172 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.3637, allocations: 2.105 MB / 0.5463 GB, free: 14.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.957, allocations: 9.781 kB / 0.5463 GB, free: 14.98 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