Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.001048/0.001048, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00104/0.001041, allocations: 185.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1872/0.1872, allocations: 43.53 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 441.3 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09649, allocations: 57.8 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001919/0.09845, allocations: 494.8 kB / 499.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007187/0.0992, allocations: 246.1 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.09925, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.09927, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.09931, allocations: 3.938 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.09971, allocations: 55.75 kB / 499.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.09979, allocations: 4 kB / 499.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.09984, allocations: 8 kB / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.09986, allocations: 0 / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.09989, allocations: 4 kB / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.0999, allocations: 0 / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.1001, allocations: 63.94 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1001, allocations: 3.984 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.1001, allocations: 3.938 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1003, allocations: 51.89 kB / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1003, allocations: 7.984 kB / 0.4883 GB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1003, allocations: 0 / 0.4883 GB, free: 11.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1003, allocations: 0 / 0.4883 GB, free: 11.42 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003545/0.1007, allocations: 361.1 kB / 0.4886 GB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1007, allocations: 11.89 kB / 0.4886 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.1008, allocations: 30.75 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1008, allocations: 8.891 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.1009, allocations: 160.4 kB / 0.4888 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1009, allocations: 384 / 0.4888 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1009, allocations: 384 / 0.4888 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.378e-05/0.101, allocations: 38.14 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.101, allocations: 3.938 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1011, allocations: 7.984 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1011, allocations: 0 / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1011, allocations: 0 / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.1012, allocations: 149.7 kB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.1013, allocations: 14.58 kB / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.1013, allocations: 4.859 kB / 0.489 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.1013, allocations: 96 / 0.489 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.1013, allocations: 68.2 kB / 0.4891 GB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1013, allocations: 0 / 0.4891 GB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.1015, allocations: 71.33 kB / 0.4892 GB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1016, allocations: 77.11 kB / 0.4892 GB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.766e-05/0.1016, allocations: 89.86 kB / 0.4893 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1016, allocations: 25.7 kB / 0.4894 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1017, allocations: 84.12 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.1017, allocations: 0 / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1017, allocations: 21.83 kB / 0.4895 GB, free: 9.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.1018, allocations: 310.8 kB / 0.4898 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.1018, allocations: 0 / 0.4898 GB, free: 9.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.1018, allocations: 7.938 kB / 0.4898 GB, free: 9.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.704e-05/0.1019, allocations: 64.27 kB / 0.4898 GB, free: 9.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1019, allocations: 3.938 kB / 0.4898 GB, free: 9.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.478e-05/0.102, allocations: 59.39 kB / 0.4899 GB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.102, allocations: 33.8 kB / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.102, allocations: 7.938 kB / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.102, allocations: 0 / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.102, allocations: 0 / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.102, allocations: 0 / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.1021, allocations: 0 / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1021, allocations: 8 kB / 0.4899 GB, free: 9.445 MB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.256e-05/0.1022, allocations: 139.5 kB / 0.4901 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.1022, allocations: 0 / 0.4901 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.1022, allocations: 11.05 kB / 0.4901 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1022, allocations: 11.98 kB / 0.4901 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1022, allocations: 3.938 kB / 0.4901 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1022, allocations: 3.938 kB / 0.4901 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.1023, allocations: 141.7 kB / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1023, allocations: 0 / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1023, allocations: 0 / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1023, allocations: 0 / 0.4902 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1023, allocations: 7.938 kB / 0.4902 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1023, allocations: 7.969 kB / 0.4902 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1023, allocations: 0 / 0.4902 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.312e-05/0.1024, allocations: 90.84 kB / 0.4903 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1025, allocations: 77.11 kB / 0.4904 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1025, allocations: 7.922 kB / 0.4904 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.1025, allocations: 0 / 0.4904 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.1025, allocations: 0 / 0.4904 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1025, allocations: 4 kB / 0.4904 GB, free: 8.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.1025, allocations: 75.28 kB / 0.4905 GB, free: 8.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1026, allocations: 4.031 kB / 0.4905 GB, free: 8.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1028, allocations: 23.94 kB / 0.4905 GB, free: 8.734 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006962/0.1035, allocations: 0.7963 MB / 0.4913 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.297e-05/0.1036, allocations: 59.39 kB / 0.4913 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1036, allocations: 0 / 0.4913 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.1036, allocations: 59.34 kB / 0.4914 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.1038, allocations: 7.938 kB / 0.4914 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.1041, allocations: 126.3 kB / 0.4915 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1044, allocations: 0.669 MB / 0.4922 GB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.746e-06/0.1044, allocations: 4.125 kB / 0.4922 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.1044, allocations: 11.44 kB / 0.4922 GB, free: 6.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1044, allocations: 0 / 0.4922 GB, free: 6.906 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.1216, allocations: 1.606 MB / 0.4938 GB, free: 5.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.733, allocations: 12.06 kB / 0.4938 GB, free: 5.277 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches