Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001321/0.001326, 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.001473/0.001473, 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.413/1.413, 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.2231/0.2231, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 79.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003154/0.322, allocations: 1.61 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000988/0.323, allocations: 0.5486 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.3231, allocations: 1.375 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.3234, allocations: 130.8 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.3238, allocations: 121.9 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3241, allocations: 118.8 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3243, allocations: 97.73 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3244, allocations: 24.16 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.3245, allocations: 47 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3246, allocations: 81.47 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3247, allocations: 3.375 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3248, allocations: 49.7 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.3249, allocations: 31.12 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.652e-05/0.325, allocations: 38.25 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3252, allocations: 124 kB / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3252, allocations: 0 / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3253, allocations: 0 / 0.5336 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3253, allocations: 1.25 kB / 0.5336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006957/0.326, allocations: 440.8 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.326, allocations: 9.75 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.3261, allocations: 40.52 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3261, allocations: 14.5 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3264, allocations: 218.1 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3264, allocations: 9.438 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3265, allocations: 2.438 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3266, allocations: 55.19 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3267, allocations: 5.141 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.3267, allocations: 0 / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3267, allocations: 1.406 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3268, allocations: 23.27 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.3273, allocations: 320 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.3274, allocations: 44.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.3275, allocations: 17.11 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3275, allocations: 96 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3275, allocations: 35.92 kB / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3275, allocations: 0 / 0.5348 GB, free: 9.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009498/0.3285, allocations: 256.5 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3285, allocations: 52.78 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.3289, allocations: 279.1 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3289, allocations: 25.7 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.329, allocations: 120.4 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.329, allocations: 34.55 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.3291, allocations: 20.59 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3292, allocations: 323 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.3293, allocations: 37.09 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.3294, allocations: 28.61 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3296, allocations: 81.56 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3296, allocations: 1.031 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002322/0.3299, allocations: 114.3 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3299, allocations: 8.656 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3299, allocations: 0 / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3299, allocations: 1.031 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.33, allocations: 18.36 kB / 0.5361 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.33, allocations: 3.938 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.3301, allocations: 15.67 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.3301, allocations: 2.469 kB / 0.5361 GB, free: 8.883 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 (8): * Single equations (assignments): 8 * 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.0001231/0.3302, allocations: 133.4 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.3303, allocations: 15.33 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.3306, allocations: 136 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3306, allocations: 1.094 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3306, allocations: 5.062 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3306, allocations: 7.984 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.3312, allocations: 432.1 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3312, allocations: 1.125 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.3313, allocations: 17.47 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3313, allocations: 9.047 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3313, allocations: 5.156 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3313, allocations: 1.094 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3313, allocations: 5.25 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3316, allocations: 217.9 kB / 0.5371 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.3317, allocations: 92.39 kB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.3317, allocations: 5.109 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.3318, allocations: 3.438 kB / 0.5372 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3318, allocations: 7.406 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.3319, allocations: 11.55 kB / 0.5372 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.3321, allocations: 204.2 kB / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3321, allocations: 0 / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000246/0.3324, allocations: 19.81 kB / 0.5374 GB, free: 7.797 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 (8): * Single equations (assignments): 8 * 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.002187/0.3346, allocations: 1.108 MB / 0.5385 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3348, allocations: 79.52 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3348, allocations: 1.156 kB / 0.5386 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.487e-05/0.3349, allocations: 40 kB / 0.5386 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3353, allocations: 22.42 kB / 0.5386 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.3375, allocations: 1.852 MB / 0.5404 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3379, allocations: 0.7177 MB / 0.5411 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.338, allocations: 28.81 kB / 0.5412 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.3381, allocations: 41.55 kB / 0.5412 GB, free: 4.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3381, allocations: 0 / 0.5412 GB, free: 4.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3623, allocations: 3.436 MB / 0.5446 GB, free: 2.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.158, allocations: 12.45 kB / 0.5446 GB, free: 2.711 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches