Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 121.2 kB / 17.79 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.001957/0.001957, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 80.14 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3254, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003173/0.3286, allocations: 1.591 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3297, allocations: 0.5429 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.3297, allocations: 0 / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3299, allocations: 23.72 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3303, allocations: 90.23 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.3306, allocations: 109.5 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3307, allocations: 61.27 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3309, allocations: 6.875 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3309, allocations: 36.05 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.331, allocations: 26.72 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.331, allocations: 2.75 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.3311, allocations: 32.61 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.3312, allocations: 13.44 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.3312, allocations: 29.28 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3314, allocations: 81.64 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3314, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3314, allocations: 3.938 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3314, allocations: 1.375 kB / 0.5332 GB, free: 11.41 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.0005318/0.332, allocations: 398.2 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.332, allocations: 9.625 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.332, allocations: 38.67 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.3321, allocations: 12.97 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3323, allocations: 195.8 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3323, allocations: 8.125 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3323, allocations: 6.75 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3325, allocations: 48.67 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3325, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.3325, allocations: 4 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3325, allocations: 1.312 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.3326, allocations: 26.52 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3331, allocations: 284.4 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3333, allocations: 41.69 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.3334, allocations: 23.12 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3334, allocations: 0.875 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3334, allocations: 35.34 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3334, allocations: 1.062 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005861/0.334, allocations: 154.6 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3341, allocations: 60.59 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.3343, allocations: 185.3 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3343, allocations: 25.7 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.3344, allocations: 96.55 kB / 0.5348 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3344, allocations: 18.14 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.3345, allocations: 18.22 kB / 0.5348 GB, free: 9.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3346, allocations: 321.2 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.3347, allocations: 24.36 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.3348, allocations: 20.33 kB / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3349, allocations: 51.83 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.335, allocations: 0 / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000211/0.3352, allocations: 95.16 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3352, allocations: 5.656 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3352, allocations: 0 / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3352, allocations: 5.156 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.3353, allocations: 13.2 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3353, allocations: 5 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.3354, allocations: 6.391 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3354, allocations: 2.562 kB / 0.5353 GB, free: 9.328 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.589e-05/0.3355, allocations: 116.3 kB / 0.5355 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3355, allocations: 8.078 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.3358, allocations: 110.1 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3358, allocations: 1.5 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3358, allocations: 3.938 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3358, allocations: 0 / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.3363, allocations: 361.6 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3363, allocations: 0 / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.3364, allocations: 14.11 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3364, allocations: 3.938 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3364, allocations: 5.438 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3364, allocations: 0 / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3364, allocations: 5.438 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3367, allocations: 179.2 kB / 0.5361 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.3368, allocations: 86.39 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3368, allocations: 9.312 kB / 0.5362 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3369, allocations: 10.73 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.3369, allocations: 2.75 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3369, allocations: 1.375 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.337, allocations: 140.7 kB / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.804e-06/0.337, allocations: 0 / 0.5364 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3373, allocations: 18.88 kB / 0.5364 GB, free: 8.367 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.001872/0.3391, allocations: 1.01 MB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3394, allocations: 50.22 kB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3394, allocations: 1.375 kB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.3395, allocations: 32.12 kB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3399, allocations: 22.11 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3417, allocations: 1.521 MB / 0.5389 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.342, allocations: 0.6986 MB / 0.5396 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.3421, allocations: 12.36 kB / 0.5396 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.3422, allocations: 31.8 kB / 0.5397 GB, free: 5.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3422, allocations: 3.938 kB / 0.5397 GB, free: 5.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3652, allocations: 2.677 MB / 0.5423 GB, free: 3.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.37, allocations: 10.33 kB / 0.5423 GB, free: 3.898 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_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_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches