Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 117.2 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2108/0.2108, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 68.06 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002615/0.35, allocations: 1.552 MB / 0.52 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006744/0.3507, allocations: 409.6 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.3507, allocations: 1.125 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.3509, allocations: 21.73 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.3511, allocations: 45.03 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3513, allocations: 83.83 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.3515, allocations: 59.47 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3516, allocations: 13.91 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.3516, allocations: 18.64 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.3517, allocations: 20.23 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3517, allocations: 2.875 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.3518, allocations: 33.38 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.3518, allocations: 15.95 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3519, allocations: 23.75 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3521, allocations: 79.78 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3521, allocations: 0.875 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3521, allocations: 0 / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3521, allocations: 0 / 0.5208 GB, free: 1.758 MB / 382.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.0004005/0.3525, allocations: 393.1 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3525, allocations: 9.281 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.3525, allocations: 36.59 kB / 0.5212 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3526, allocations: 12.81 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3527, allocations: 186.4 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3527, allocations: 1.719 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.3528, allocations: 7.469 kB / 0.5214 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3529, allocations: 48.83 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3529, allocations: 8 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3529, allocations: 5.219 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3529, allocations: 0 / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.353, allocations: 22.42 kB / 0.5215 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.3533, allocations: 279 kB / 0.5217 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.3535, allocations: 42.94 kB / 0.5218 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.3535, allocations: 17.95 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3536, allocations: 4 kB / 0.5218 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.3536, allocations: 32.47 kB / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3536, allocations: 0 / 0.5218 GB, free: 0.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00052/0.3541, allocations: 140.5 kB / 0.5219 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3541, allocations: 56.59 kB / 0.522 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3542, allocations: 165.4 kB / 0.5222 GB, free: 432 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.3543, allocations: 25.7 kB / 0.5222 GB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.3543, allocations: 101.9 kB / 0.5223 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3543, allocations: 15.23 kB / 0.5223 GB, free: 288 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3543, allocations: 19.12 kB / 0.5223 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.3544, allocations: 323.7 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.3545, allocations: 23.06 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.3546, allocations: 18.95 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3547, allocations: 46.09 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3547, allocations: 1.094 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.3549, allocations: 77.3 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3549, allocations: 7.094 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3549, allocations: 1.906 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3549, allocations: 7.938 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.355, allocations: 17.25 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.355, allocations: 0 / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.355, allocations: 6.031 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.355, allocations: 5.219 kB / 0.5228 GB, free: 15.85 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 0.0001103/0.3552, allocations: 121.6 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.3552, allocations: 8.172 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3554, allocations: 93.28 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3554, allocations: 1.219 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3554, allocations: 2.281 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3554, allocations: 0 / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.3559, allocations: 352 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3559, allocations: 0 / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.356, allocations: 12.62 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.356, allocations: 4.75 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.356, allocations: 1.156 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.356, allocations: 3.938 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.356, allocations: 1.766 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3562, allocations: 176.5 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3563, allocations: 83.81 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3563, allocations: 6.062 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.3564, allocations: 12.52 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.3564, allocations: 12.36 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.3564, allocations: 0.8125 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.3565, allocations: 126.7 kB / 0.5238 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 1.625 kB / 0.5238 GB, free: 14.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000242/0.3568, allocations: 18.39 kB / 0.5238 GB, free: 14.96 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.001915/0.3587, allocations: 0.9933 MB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3589, allocations: 51.91 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3589, allocations: 0 / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.359, allocations: 23.67 kB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3593, allocations: 24.14 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.3611, allocations: 1.475 MB / 0.5263 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3615, allocations: 0.6962 MB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.3615, allocations: 7.109 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.3616, allocations: 26.67 kB / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3616, allocations: 0 / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3851, allocations: 2.573 MB / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.231, allocations: 9.703 kB / 0.5296 GB, free: 11.22 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches