Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.13 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002132, allocations: 84.09 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3085, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002837/0.3114, allocations: 1.617 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.3124, allocations: 0.5531 MB / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.3125, allocations: 0 / 0.5328 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.3127, allocations: 77.48 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.313, allocations: 106.2 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3133, allocations: 118.4 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3135, allocations: 83.5 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.3136, allocations: 17.61 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.3137, allocations: 36.41 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3138, allocations: 59.31 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3138, allocations: 2.75 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.3139, allocations: 46.02 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.314, allocations: 19.55 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.314, allocations: 34.73 kB / 0.5333 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.3142, allocations: 116.2 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3142, allocations: 1.219 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3142, allocations: 3.938 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3143, allocations: 0 / 0.5334 GB, free: 11.29 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.0004897/0.3147, allocations: 415.3 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3148, allocations: 9.688 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.3148, allocations: 36.2 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.3149, allocations: 14.31 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.3151, allocations: 204.4 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3151, allocations: 5.781 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3151, allocations: 2.781 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3153, allocations: 62.39 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3153, allocations: 9.219 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3153, allocations: 7.938 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3153, allocations: 1.25 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.3154, allocations: 24.52 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3158, allocations: 296 kB / 0.5345 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3159, allocations: 47.62 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.316, allocations: 24.38 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.316, allocations: 1.281 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3161, allocations: 32.16 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3161, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008939/0.317, allocations: 242.1 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.317, allocations: 52.53 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3172, allocations: 214.3 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3173, allocations: 30.92 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3173, allocations: 105.9 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3174, allocations: 30.55 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3174, allocations: 23.8 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3176, allocations: 330.9 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.3177, allocations: 28.48 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.3177, allocations: 32.47 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3179, allocations: 69.95 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3179, allocations: 0 / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.3181, allocations: 105.7 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3182, allocations: 13.48 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3182, allocations: 0 / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3182, allocations: 0 / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.3183, allocations: 21.67 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3183, allocations: 5.312 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.3184, allocations: 6.75 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3184, allocations: 2.75 kB / 0.5358 GB, free: 9.086 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.0001005/0.3185, allocations: 128.8 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3185, allocations: 17.41 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3188, allocations: 146.8 kB / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3188, allocations: 0 / 0.5361 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3188, allocations: 4.906 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3188, allocations: 3.938 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005377/0.3194, allocations: 419.3 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3194, allocations: 5.062 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.3195, allocations: 21.83 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3195, allocations: 1.062 kB / 0.5366 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3195, allocations: 5 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3195, allocations: 1.062 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3195, allocations: 1.094 kB / 0.5366 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3198, allocations: 213.4 kB / 0.5368 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.3199, allocations: 95.47 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3199, allocations: 2.094 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.32, allocations: 3.562 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.32, allocations: 10.58 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.32, allocations: 6.578 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3202, allocations: 163.8 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3202, allocations: 0 / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3204, allocations: 27.19 kB / 0.5371 GB, free: 8.004 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.002041/0.3225, allocations: 1.089 MB / 0.5381 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3227, allocations: 67.2 kB / 0.5382 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3227, allocations: 0 / 0.5382 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.968e-05/0.3228, allocations: 48.45 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3232, allocations: 25.98 kB / 0.5383 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3251, allocations: 1.715 MB / 0.5399 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3255, allocations: 0.7089 MB / 0.5406 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.3255, allocations: 16.38 kB / 0.5406 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.666e-05/0.3256, allocations: 38.3 kB / 0.5407 GB, free: 4.879 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3256, allocations: 0 / 0.5407 GB, free: 4.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.349, allocations: 3.17 MB / 0.5438 GB, free: 3.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.149, allocations: 5.031 kB / 0.5438 GB, free: 3.141 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches