Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 205.2 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.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 83.8 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4059, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003192/0.4092, allocations: 1.658 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.4103, allocations: 0.5526 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.4103, allocations: 1.125 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.4106, allocations: 98.67 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.4109, allocations: 110.7 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.4112, allocations: 112.4 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.4114, allocations: 108.4 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.4116, allocations: 28.02 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.4116, allocations: 43.48 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4118, allocations: 61.84 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4118, allocations: 5.312 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.4119, allocations: 54.61 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.412, allocations: 34.59 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.412, allocations: 40.19 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.4122, allocations: 131.1 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4123, allocations: 1.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4123, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4123, allocations: 0 / 0.5335 GB, free: 11.2 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000536/0.4128, allocations: 434.3 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4129, allocations: 13.56 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.4129, allocations: 45.44 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.413, allocations: 14.34 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.4132, allocations: 215.2 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4132, allocations: 3.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.4132, allocations: 12.44 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.4134, allocations: 71.61 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4134, allocations: 3.953 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4134, allocations: 1.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4135, allocations: 5.359 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.4136, allocations: 48.66 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.4141, allocations: 339.4 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4143, allocations: 68.73 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.4143, allocations: 31.83 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.4144, allocations: 1.531 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.4144, allocations: 39.92 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.4144, allocations: 0 / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.4154, allocations: 329.5 kB / 0.5351 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4155, allocations: 56.5 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.4158, allocations: 242.9 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4158, allocations: 34.89 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.4159, allocations: 110.9 kB / 0.5355 GB, free: 9.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.4159, allocations: 49.16 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.416, allocations: 26.66 kB / 0.5356 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4161, allocations: 323.5 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4162, allocations: 47.91 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.4163, allocations: 45.38 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.4165, allocations: 115.8 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4166, allocations: 0 / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002776/0.4168, allocations: 156 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4169, allocations: 5.188 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4169, allocations: 3.938 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4169, allocations: 5.25 kB / 0.5363 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.417, allocations: 28.17 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.417, allocations: 1.516 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.4171, allocations: 12.14 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4171, allocations: 2.75 kB / 0.5363 GB, free: 8.766 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 (13): * Single equations (assignments): 13 * 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.0001125/0.4172, allocations: 135.4 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.4173, allocations: 15.12 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.4176, allocations: 196.9 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4177, allocations: 1.344 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4177, allocations: 0 / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4177, allocations: 5.328 kB / 0.5366 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.4183, allocations: 496.7 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4183, allocations: 0 / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.4184, allocations: 37.02 kB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4184, allocations: 1.312 kB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4184, allocations: 9.156 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4184, allocations: 1.188 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4184, allocations: 0.9062 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4188, allocations: 263 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.4188, allocations: 88.3 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4189, allocations: 2.188 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.4189, allocations: 7.25 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.419, allocations: 9.391 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.419, allocations: 3.219 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.4191, allocations: 182.9 kB / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.4192, allocations: 0 / 0.5377 GB, free: 7.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.4194, allocations: 30.97 kB / 0.5377 GB, free: 7.602 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 (13): * Single equations (assignments): 13 * 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.001572/0.421, allocations: 1.144 MB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.4213, allocations: 110.2 kB / 0.5389 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4213, allocations: 0 / 0.5389 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4214, allocations: 59.62 kB / 0.539 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4218, allocations: 27.53 kB / 0.539 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.424, allocations: 1.916 MB / 0.5409 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.4244, allocations: 0.7204 MB / 0.5416 GB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.815e-05/0.4245, allocations: 36.14 kB / 0.5416 GB, free: 4.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.4245, allocations: 44.55 kB / 0.5417 GB, free: 4.305 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4246, allocations: 0 / 0.5417 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.4466, allocations: 3.609 MB / 0.5452 GB, free: 2.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.147, allocations: 4.672 kB / 0.5452 GB, free: 2.367 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_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_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches