Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001289, 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.41/1.41, 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.242/0.242, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 80.09 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002838/0.3093, allocations: 1.6 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3103, allocations: 0.5389 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.3104, allocations: 3.938 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3106, allocations: 25.59 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.3109, allocations: 76.69 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3112, allocations: 111.1 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3113, allocations: 67.33 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.3114, allocations: 14.86 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.396e-05/0.3115, allocations: 24.11 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.3115, allocations: 22.61 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3116, allocations: 2.656 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.3116, allocations: 36.36 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.3117, allocations: 17.02 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.3117, allocations: 24.52 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3119, allocations: 78.95 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3119, allocations: 4 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3119, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3119, allocations: 0.875 kB / 0.5331 GB, free: 11.44 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.0004464/0.3124, allocations: 383.8 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3124, allocations: 9.969 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.3125, allocations: 36.12 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.3125, allocations: 7.641 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3127, allocations: 195.6 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.3127, allocations: 1.312 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3127, allocations: 11.31 kB / 0.5337 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3129, allocations: 47.88 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3129, allocations: 0 / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3129, allocations: 9.703 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3129, allocations: 0 / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.313, allocations: 25.12 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.3133, allocations: 283.6 kB / 0.5341 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.3135, allocations: 53.33 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.3136, allocations: 15.48 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3136, allocations: 1.219 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3137, allocations: 35.67 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.575e-06/0.3137, allocations: 0 / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005572/0.3142, allocations: 163.2 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.3143, allocations: 52.62 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3144, allocations: 151.3 kB / 0.5345 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3145, allocations: 25.7 kB / 0.5345 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.3145, allocations: 95.34 kB / 0.5346 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.3145, allocations: 14.61 kB / 0.5347 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3146, allocations: 19.12 kB / 0.5347 GB, free: 9.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3147, allocations: 328 kB / 0.535 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.23e-05/0.3148, allocations: 19.45 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.3149, allocations: 25.62 kB / 0.535 GB, free: 9.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.315, allocations: 54.48 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.315, allocations: 0 / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.3152, allocations: 87.88 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3152, allocations: 9.172 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3152, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3153, allocations: 1.156 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.3153, allocations: 10 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3153, allocations: 0 / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.3154, allocations: 6.734 kB / 0.5352 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3154, allocations: 5.344 kB / 0.5352 GB, free: 9.398 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 9.001e-05/0.3155, allocations: 119.1 kB / 0.5353 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.3155, allocations: 11.39 kB / 0.5353 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.3158, allocations: 97.17 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3158, allocations: 1.375 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3158, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3158, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.3163, allocations: 360.2 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3163, allocations: 4.062 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.3164, allocations: 17.61 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3164, allocations: 1.375 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3164, allocations: 0 / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.3164, allocations: 5.312 kB / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3164, allocations: 0 / 0.5358 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3166, allocations: 183.2 kB / 0.536 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.3167, allocations: 86.44 kB / 0.536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3167, allocations: 5.312 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.3168, allocations: 14.61 kB / 0.5361 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3168, allocations: 5.312 kB / 0.5361 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3168, allocations: 6.75 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.3169, allocations: 116 kB / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3169, allocations: 0 / 0.5362 GB, free: 8.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.3172, allocations: 18.94 kB / 0.5362 GB, free: 8.441 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.001466/0.3186, allocations: 1.008 MB / 0.5372 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3189, allocations: 54.14 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3189, allocations: 1.375 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.319, allocations: 28.48 kB / 0.5373 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3194, allocations: 21.98 kB / 0.5373 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3212, allocations: 1.465 MB / 0.5387 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3215, allocations: 0.6913 MB / 0.5394 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.3216, allocations: 24.86 kB / 0.5394 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.3217, allocations: 27.86 kB / 0.5394 GB, free: 5.5 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3217, allocations: 0 / 0.5394 GB, free: 5.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.3419, allocations: 2.558 MB / 0.5419 GB, free: 4.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.842, allocations: 14.3 kB / 0.5419 GB, free: 4.047 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches