Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001099/0.001099, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001133/0.001133, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2232/0.2232, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4084, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002795/0.4112, allocations: 1.565 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.412, allocations: 403.6 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.412, allocations: 5.281 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.4123, allocations: 25.19 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.4125, allocations: 40.92 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.4128, allocations: 88.47 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.4129, allocations: 51.22 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.4131, allocations: 11.97 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.4131, allocations: 26.62 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.4132, allocations: 23.12 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4132, allocations: 2.406 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.4133, allocations: 30.7 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.4133, allocations: 15.64 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.4134, allocations: 24.8 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.4136, allocations: 80.06 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4136, allocations: 0 / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4136, allocations: 0 / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.4136, allocations: 0 / 0.5208 GB, free: 1.746 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.0003987/0.414, allocations: 393.3 kB / 0.5211 GB, free: 1.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.414, allocations: 9.75 kB / 0.5211 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.4141, allocations: 31.59 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.4141, allocations: 12.62 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.4143, allocations: 191.2 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4143, allocations: 1.5 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.4143, allocations: 2.406 kB / 0.5214 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.4144, allocations: 54.11 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.4145, allocations: 0 / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.4145, allocations: 4 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4145, allocations: 1.094 kB / 0.5214 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.4146, allocations: 25.66 kB / 0.5215 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.4149, allocations: 275.4 kB / 0.5217 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.4151, allocations: 39.78 kB / 0.5218 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.4152, allocations: 22.53 kB / 0.5218 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4152, allocations: 4.969 kB / 0.5218 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.4152, allocations: 32.36 kB / 0.5218 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4152, allocations: 0 / 0.5218 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005369/0.4158, allocations: 140.5 kB / 0.5219 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.4158, allocations: 51.41 kB / 0.522 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4159, allocations: 173.4 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.416, allocations: 25.7 kB / 0.5222 GB, free: 392 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.416, allocations: 103.3 kB / 0.5223 GB, free: 292 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.416, allocations: 14.7 kB / 0.5223 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.4161, allocations: 14.59 kB / 0.5223 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.4161, allocations: 324 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.4162, allocations: 18.73 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.4163, allocations: 23.16 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4164, allocations: 43 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4165, allocations: 0 / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001848/0.4166, allocations: 84.91 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4167, allocations: 5.781 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4167, allocations: 4.625 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4167, allocations: 1.219 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.4168, allocations: 19.78 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4168, allocations: 1.75 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.4168, allocations: 3.75 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4168, allocations: 7.297 kB / 0.5228 GB, free: 15.84 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 8.313e-05/0.4169, allocations: 117.2 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.417, allocations: 8.391 kB / 0.5229 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.4172, allocations: 102.3 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4172, allocations: 0.7969 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4172, allocations: 0 / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4172, allocations: 2.031 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.4176, allocations: 342.2 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4176, allocations: 1.594 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.4177, allocations: 16.34 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4177, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4177, allocations: 9.125 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4177, allocations: 9.766 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4178, allocations: 0 / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.418, allocations: 173.7 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.418, allocations: 83.08 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.418, allocations: 1.844 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.4181, allocations: 7.656 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4182, allocations: 8.328 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4182, allocations: 6.156 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.4183, allocations: 130.5 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4183, allocations: 1.062 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000241/0.4185, allocations: 13.77 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.001246/0.4198, allocations: 1.003 MB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.42, allocations: 44.28 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.42, allocations: 0 / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.916e-05/0.4201, allocations: 27.59 kB / 0.5249 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.4205, allocations: 18.56 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.001581/0.4221, allocations: 1.479 MB / 0.5263 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.4223, allocations: 0.6932 MB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.4224, allocations: 5.766 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.4225, allocations: 26.45 kB / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4225, allocations: 4 kB / 0.527 GB, free: 12.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.4412, allocations: 2.566 MB / 0.5295 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.139, allocations: 9.609 kB / 0.5295 GB, free: 11.23 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches