Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.001421, allocations: 201.2 kB / 18.74 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.342/1.342, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003285/0.3242, allocations: 2.027 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3261, allocations: 1.25 MB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3262, allocations: 2.719 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3265, allocations: 47.7 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.3269, allocations: 201.3 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.3278, allocations: 444.5 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.3282, allocations: 286.9 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3283, allocations: 74.8 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3286, allocations: 128.6 kB / 0.535 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.3288, allocations: 186.1 kB / 0.5351 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.3289, allocations: 13.69 kB / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.329, allocations: 68.23 kB / 0.5352 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3292, allocations: 143.8 kB / 0.5354 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3293, allocations: 173.9 kB / 0.5355 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.3298, allocations: 409.8 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3298, allocations: 1.531 kB / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3298, allocations: 0 / 0.5359 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3298, allocations: 0 / 0.5359 GB, free: 9.43 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001033/0.3309, allocations: 0.8081 MB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3309, allocations: 13.31 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.331, allocations: 42.22 kB / 0.5368 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.3313, allocations: 85.02 kB / 0.5368 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.3319, allocations: 476.3 kB / 0.5373 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3319, allocations: 8.031 kB / 0.5373 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.332, allocations: 14.91 kB / 0.5373 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3322, allocations: 133.1 kB / 0.5374 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3322, allocations: 1 kB / 0.5374 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3323, allocations: 8.75 kB / 0.5375 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3323, allocations: 3.031 kB / 0.5375 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.3325, allocations: 78.56 kB / 0.5375 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.3334, allocations: 0.6805 MB / 0.5382 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3336, allocations: 108.5 kB / 0.5383 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.3337, allocations: 44.62 kB / 0.5383 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.3338, allocations: 10.28 kB / 0.5384 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3338, allocations: 35.72 kB / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.3338, allocations: 5.156 kB / 0.5384 GB, free: 7.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001394/0.3352, allocations: 0.5286 MB / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3353, allocations: 78.39 kB / 0.539 GB, free: 6.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3363, allocations: 0.9306 MB / 0.5399 GB, free: 6.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3364, allocations: 27.11 kB / 0.5399 GB, free: 6.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3366, allocations: 260.6 kB / 0.5402 GB, free: 6.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.3367, allocations: 59.2 kB / 0.5402 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.3367, allocations: 31.7 kB / 0.5403 GB, free: 6.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3369, allocations: 377.8 kB / 0.5406 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3371, allocations: 59.3 kB / 0.5407 GB, free: 5.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3373, allocations: 75.73 kB / 0.5407 GB, free: 5.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.3376, allocations: 139.4 kB / 0.5409 GB, free: 5.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3376, allocations: 0 / 0.5409 GB, free: 5.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004455/0.3381, allocations: 226.1 kB / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3381, allocations: 6.281 kB / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3381, allocations: 0 / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3381, allocations: 1.75 kB / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3383, allocations: 44.03 kB / 0.5411 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3383, allocations: 4.969 kB / 0.5411 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3385, allocations: 12.52 kB / 0.5412 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3385, allocations: 4.5 kB / 0.5412 GB, free: 5.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002304/0.3387, allocations: 219.7 kB / 0.5414 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3388, allocations: 61.55 kB / 0.5414 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.3395, allocations: 264 kB / 0.5417 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3395, allocations: 2.219 kB / 0.5417 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3395, allocations: 5.156 kB / 0.5417 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3395, allocations: 1.156 kB / 0.5417 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3408, allocations: 0.7952 MB / 0.5425 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3408, allocations: 1.531 kB / 0.5425 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3409, allocations: 35.25 kB / 0.5425 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3409, allocations: 1.188 kB / 0.5425 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.341, allocations: 14.16 kB / 0.5425 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.341, allocations: 9.203 kB / 0.5425 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.341, allocations: 5 kB / 0.5425 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.3416, allocations: 393.1 kB / 0.5429 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3418, allocations: 162.3 kB / 0.5431 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3418, allocations: 5.188 kB / 0.5431 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.342, allocations: 19.36 kB / 0.5431 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.3421, allocations: 10.7 kB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3421, allocations: 8.531 kB / 0.5431 GB, free: 4.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008931/0.343, allocations: 0.6718 MB / 0.5438 GB, free: 3.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.343, allocations: 0 / 0.5438 GB, free: 3.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.3434, allocations: 55.06 kB / 0.5438 GB, free: 3.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002193/0.3456, allocations: 1.227 MB / 0.545 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.3461, allocations: 159.8 kB / 0.5452 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3461, allocations: 0 / 0.5452 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.3463, allocations: 79.89 kB / 0.5452 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.3469, allocations: 76.7 kB / 0.5453 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.3532, allocations: 5.075 MB / 0.5503 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3537, allocations: 0.8684 MB / 0.5511 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.3539, allocations: 75.22 kB / 0.5512 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.3542, allocations: 175.4 kB / 0.5514 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3542, allocations: 0 / 0.5514 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.3852, allocations: 9.901 MB / 0.561 GB, free: 2.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.81, allocations: 8.953 kB / 0.561 GB, free: 2.262 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches