Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 118.8 kB / 17.78 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.001285/0.001285, allocations: 201.2 kB / 18.73 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.354/1.354, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2648/0.2648, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 80.08 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3247, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.00266/0.3274, allocations: 1.628 MB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.329, allocations: 1.168 MB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.3291, allocations: 1.438 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3293, allocations: 25.02 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.3296, allocations: 89.2 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.3299, allocations: 111.3 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.33, allocations: 79.39 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3302, allocations: 31.88 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.796e-05/0.3302, allocations: 23.95 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3304, allocations: 35.91 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3304, allocations: 9.219 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.3305, allocations: 103.5 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.3306, allocations: 14.92 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3307, allocations: 28.91 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3309, allocations: 158 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3309, allocations: 0 / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3309, allocations: 1.469 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3309, allocations: 7.938 kB / 0.5339 GB, free: 10.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004969/0.3314, allocations: 419.1 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3315, allocations: 9.844 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3315, allocations: 36.03 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3316, allocations: 8.734 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3318, allocations: 191.8 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3318, allocations: 5.438 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.3318, allocations: 3.562 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.332, allocations: 91 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.332, allocations: 5.328 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3321, allocations: 3.984 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3321, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3322, allocations: 36.59 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3326, allocations: 313.7 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3327, allocations: 53.94 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3328, allocations: 22.59 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3328, allocations: 5.406 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3329, allocations: 35.94 kB / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.336e-06/0.3329, allocations: 0 / 0.5351 GB, free: 9.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006363/0.3335, allocations: 201.2 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.3336, allocations: 78.48 kB / 0.5354 GB, free: 9.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3337, allocations: 163.5 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3338, allocations: 27.08 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.3338, allocations: 90.89 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3339, allocations: 35.84 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3339, allocations: 20.59 kB / 0.5357 GB, free: 9.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.334, allocations: 324.2 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.3341, allocations: 28.48 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.3342, allocations: 44.94 kB / 0.5361 GB, free: 8.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.3344, allocations: 70.31 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3344, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002339/0.3346, allocations: 111.5 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3347, allocations: 4.844 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3347, allocations: 4 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3347, allocations: 1.375 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3348, allocations: 25.95 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3348, allocations: 4.25 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3349, allocations: 7.859 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.3349, allocations: 2.531 kB / 0.5363 GB, free: 8.543 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 9.153e-05/0.335, allocations: 119.4 kB / 0.5364 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.335, allocations: 12.34 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3354, allocations: 135.2 kB / 0.5366 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3354, allocations: 0.9062 kB / 0.5366 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3354, allocations: 5.281 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3354, allocations: 0 / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.3359, allocations: 404.3 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3359, allocations: 0 / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.336, allocations: 21.45 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.336, allocations: 1.125 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.336, allocations: 1.219 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.336, allocations: 1.188 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.336, allocations: 0 / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.3363, allocations: 215.4 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.3364, allocations: 87.25 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3364, allocations: 9.062 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.3365, allocations: 7.328 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3365, allocations: 3.469 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3366, allocations: 1.219 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3367, allocations: 120.7 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3367, allocations: 1.094 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.337, allocations: 41.89 kB / 0.5375 GB, free: 7.52 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 (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.001622/0.3386, allocations: 1.131 MB / 0.5386 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3389, allocations: 76.55 kB / 0.5386 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3389, allocations: 0 / 0.5386 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.339, allocations: 43.75 kB / 0.5387 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3394, allocations: 22.52 kB / 0.5387 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3412, allocations: 1.546 MB / 0.5402 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3415, allocations: 0.6977 MB / 0.5409 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.43e-05/0.3416, allocations: 33.36 kB / 0.5409 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.3417, allocations: 35.58 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3417, allocations: 0 / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3645, allocations: 3.446 MB / 0.5443 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.273, allocations: 5.125 kB / 0.5443 GB, free: 2.488 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches