Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 202 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.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 76.09 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3331, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003414/0.3365, allocations: 1.601 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3377, allocations: 0.5395 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.3378, allocations: 3.938 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.338, allocations: 25.94 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.3384, allocations: 72.56 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3388, allocations: 121 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.339, allocations: 61.95 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3391, allocations: 16.23 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.503e-05/0.3392, allocations: 24.11 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.3393, allocations: 22.73 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3393, allocations: 2.75 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.3394, allocations: 35.7 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.3394, allocations: 17.8 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.3395, allocations: 27.16 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3397, allocations: 83.47 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3397, allocations: 1.469 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3397, allocations: 0 / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3397, allocations: 0 / 0.5331 GB, free: 11.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005024/0.3402, allocations: 382.2 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3403, allocations: 8.812 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.3403, allocations: 35.69 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.3404, allocations: 8.281 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3406, allocations: 201.8 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3406, allocations: 1.656 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.3407, allocations: 9.5 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3408, allocations: 56.69 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3408, allocations: 1.656 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3409, allocations: 4 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3409, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/0.341, allocations: 21.92 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.3414, allocations: 285.6 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3417, allocations: 44.5 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.3417, allocations: 19.66 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3418, allocations: 1.062 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.3418, allocations: 35.66 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3418, allocations: 0 / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006725/0.3425, allocations: 162.8 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3426, allocations: 52.47 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3428, allocations: 165.7 kB / 0.5345 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3428, allocations: 31.7 kB / 0.5346 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.3429, allocations: 95.2 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3429, allocations: 13.7 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.343, allocations: 18.97 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3431, allocations: 320.6 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.3432, allocations: 19.48 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.3433, allocations: 21.64 kB / 0.535 GB, free: 9.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3434, allocations: 58.52 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3434, allocations: 3.984 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.3436, allocations: 83.14 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3437, allocations: 6.188 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3437, allocations: 0 / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3437, allocations: 0 / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.3438, allocations: 14.8 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3438, allocations: 3.938 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3438, allocations: 6.516 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3439, allocations: 6.094 kB / 0.5352 GB, free: 9.379 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 (5): * Single equations (assignments): 5 * 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.0001041/0.344, allocations: 124.4 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.344, allocations: 7 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.3443, allocations: 97.55 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3443, allocations: 1.375 kB / 0.5354 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3443, allocations: 3.938 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3443, allocations: 0 / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.3448, allocations: 365.6 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3448, allocations: 64 / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.3448, allocations: 21.61 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3448, allocations: 3.938 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3449, allocations: 5.312 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3449, allocations: 0 / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3449, allocations: 1.375 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3451, allocations: 181.8 kB / 0.536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3452, allocations: 83.77 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.3452, allocations: 3.938 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.3453, allocations: 16.05 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.3453, allocations: 1.375 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3453, allocations: 1.375 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.3454, allocations: 127.5 kB / 0.5362 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 4 kB / 0.5362 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3457, allocations: 15 kB / 0.5362 GB, free: 8.418 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 (5): * Single equations (assignments): 5 * 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.001419/0.3471, allocations: 1.01 MB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3474, allocations: 63.52 kB / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3474, allocations: 0 / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.3474, allocations: 24.67 kB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3478, allocations: 17.11 kB / 0.5373 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3497, allocations: 1.496 MB / 0.5388 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.35, allocations: 0.6923 MB / 0.5395 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.067e-05/0.3501, allocations: 17.36 kB / 0.5395 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.3501, allocations: 28.02 kB / 0.5395 GB, free: 5.465 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3501, allocations: 0 / 0.5395 GB, free: 5.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.3703, allocations: 2.631 MB / 0.5421 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8, allocations: 3.172 kB / 0.5421 GB, free: 3.984 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches