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.001279/0.001279, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 199.9 kB / 18.74 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.415/1.415, 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.2186/0.2186, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 83.86 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3261, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002696/0.3288, allocations: 1.623 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.3297, allocations: 0.5427 MB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.3298, allocations: 1.469 kB / 0.5327 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.33, allocations: 77.92 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.3303, allocations: 109.2 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3306, allocations: 114.8 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3308, allocations: 85.73 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.3309, allocations: 12.94 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.3309, allocations: 39 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.331, allocations: 57.31 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.331, allocations: 2.344 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.3311, allocations: 44.86 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.3312, allocations: 25 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.3312, allocations: 29.25 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3314, allocations: 113.7 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3314, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3314, allocations: 0 / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3314, allocations: 1.375 kB / 0.5333 GB, free: 11.34 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.0004798/0.3319, allocations: 419.5 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.332, allocations: 9.625 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.332, allocations: 34.75 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.3321, allocations: 14.34 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.3322, allocations: 209.2 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.3323, allocations: 1.75 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3323, allocations: 3.125 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.3324, allocations: 57.98 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3324, allocations: 5.375 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3325, allocations: 0 / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3325, allocations: 9.25 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.395e-05/0.3326, allocations: 27.09 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.3329, allocations: 300.4 kB / 0.5344 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3331, allocations: 56.31 kB / 0.5344 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.3332, allocations: 17.19 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3332, allocations: 0 / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3332, allocations: 35.94 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.3332, allocations: 0 / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008445/0.3341, allocations: 246 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3341, allocations: 52.78 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3343, allocations: 214.7 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3343, allocations: 26.58 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3344, allocations: 109.3 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3344, allocations: 27.33 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3345, allocations: 24.09 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3346, allocations: 326.2 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.3347, allocations: 36.91 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.3348, allocations: 24.83 kB / 0.5355 GB, free: 9.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3349, allocations: 77.5 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3349, allocations: 0 / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002081/0.3351, allocations: 117.2 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3352, allocations: 5.812 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3352, allocations: 0 / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3352, allocations: 1.156 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.3353, allocations: 17.61 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3353, allocations: 4.25 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.3354, allocations: 7.422 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3354, allocations: 2.219 kB / 0.5357 GB, free: 9.125 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.261e-05/0.3355, allocations: 137 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.3355, allocations: 13.5 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.3358, allocations: 125.6 kB / 0.536 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3358, allocations: 5.062 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3358, allocations: 5.156 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3358, allocations: 3.984 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.3363, allocations: 428.1 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3363, allocations: 0 / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.3364, allocations: 22.09 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3364, allocations: 1.281 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3364, allocations: 5.266 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3365, allocations: 1.5 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3365, allocations: 0 / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3367, allocations: 208.8 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3368, allocations: 92.14 kB / 0.5367 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3368, allocations: 1.438 kB / 0.5368 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.3369, allocations: 11.14 kB / 0.5368 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3369, allocations: 10.81 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3369, allocations: 6.891 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3371, allocations: 168 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3371, allocations: 4 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3373, allocations: 18.59 kB / 0.537 GB, free: 8.051 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.001492/0.3388, allocations: 1.096 MB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3391, allocations: 83.45 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3391, allocations: 0 / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3392, allocations: 47.44 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3396, allocations: 16.28 kB / 0.5382 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3416, allocations: 1.708 MB / 0.5398 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3419, allocations: 0.7165 MB / 0.5405 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.342, allocations: 16.81 kB / 0.5406 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.342, allocations: 33.17 kB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3421, allocations: 1.188 kB / 0.5406 GB, free: 4.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.3638, allocations: 3.158 MB / 0.5437 GB, free: 3.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.124, allocations: 1.188 kB / 0.5437 GB, free: 3.188 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/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