Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, 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.001545/0.001546, allocations: 199.9 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.449/1.449, 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.2305/0.2305, allocations: 46.12 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 71.89 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3951, allocations: 62.44 MB / 0.5305 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00313/0.3983, allocations: 1.652 MB / 0.5322 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3996, allocations: 0.5566 MB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.3997, allocations: 1 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000419/0.4001, allocations: 102.3 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.4004, allocations: 112.2 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.4007, allocations: 123.5 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.4009, allocations: 91.12 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.4011, allocations: 29.17 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.849e-05/0.4011, allocations: 46.45 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4013, allocations: 66.05 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4013, allocations: 9.438 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4014, allocations: 46.23 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.4015, allocations: 34.84 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.4015, allocations: 39.94 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.4018, allocations: 127.1 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4018, allocations: 1.375 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4018, allocations: 0 / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4018, allocations: 0 / 0.5335 GB, free: 11.25 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.0005802/0.4024, allocations: 446.2 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4024, allocations: 13.56 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.4025, allocations: 37.5 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.4025, allocations: 14.34 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.4027, allocations: 211.3 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.4028, allocations: 7.125 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4028, allocations: 4.5 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.403, allocations: 75.59 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.403, allocations: 7.891 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.403, allocations: 5.375 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.403, allocations: 1.375 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4031, allocations: 43.33 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.4036, allocations: 344.8 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.4038, allocations: 71.3 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.4038, allocations: 25.22 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.4039, allocations: 5.516 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4039, allocations: 39.94 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4039, allocations: 0 / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00111/0.405, allocations: 329.5 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.4051, allocations: 57.66 kB / 0.5352 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4053, allocations: 242.8 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4054, allocations: 25.7 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.4054, allocations: 111 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.4055, allocations: 53.22 kB / 0.5356 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.4055, allocations: 27.08 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4056, allocations: 327.9 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.4058, allocations: 44.06 kB / 0.536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.4059, allocations: 48.03 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4061, allocations: 117.1 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4061, allocations: 1.469 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003286/0.4064, allocations: 158.8 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4065, allocations: 5.406 kB / 0.5363 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4065, allocations: 3.938 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4065, allocations: 1.312 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4067, allocations: 29.14 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4067, allocations: 0 / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.4067, allocations: 7.906 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4067, allocations: 7.672 kB / 0.5363 GB, free: 8.805 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.0001047/0.4069, allocations: 131.1 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.4069, allocations: 14.5 kB / 0.5365 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.4073, allocations: 202.4 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4073, allocations: 1.188 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4073, allocations: 0 / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4073, allocations: 0.9688 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.408, allocations: 0.489 MB / 0.5371 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.408, allocations: 1.062 kB / 0.5371 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4081, allocations: 32.61 kB / 0.5372 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4082, allocations: 9.141 kB / 0.5372 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.4082, allocations: 1.281 kB / 0.5372 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4082, allocations: 1.25 kB / 0.5372 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4082, allocations: 1.094 kB / 0.5372 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.4085, allocations: 254.3 kB / 0.5374 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.4086, allocations: 88.86 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.4086, allocations: 13.33 kB / 0.5375 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.4087, allocations: 3.375 kB / 0.5375 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.4088, allocations: 17.7 kB / 0.5375 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.4088, allocations: 10.62 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.409, allocations: 179.4 kB / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.409, allocations: 0 / 0.5377 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.4093, allocations: 27.97 kB / 0.5377 GB, free: 7.637 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.001611/0.4109, allocations: 1.142 MB / 0.5389 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4112, allocations: 109.7 kB / 0.539 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4112, allocations: 1.281 kB / 0.539 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.4114, allocations: 59.28 kB / 0.539 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.4118, allocations: 24.89 kB / 0.539 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4139, allocations: 1.916 MB / 0.5409 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4142, allocations: 0.7229 MB / 0.5416 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.331e-05/0.4143, allocations: 33.3 kB / 0.5416 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.4144, allocations: 44.33 kB / 0.5417 GB, free: 4.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4144, allocations: 0 / 0.5417 GB, free: 4.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.4359, allocations: 3.597 MB / 0.5452 GB, free: 2.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.095, allocations: 12.27 kB / 0.5452 GB, free: 2.406 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_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_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches