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.001308/0.001308, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001343/0.001343, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2186/0.2186, allocations: 43.52 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.002144/0.002144, allocations: 75.88 kB / 441.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1131, allocations: 57.8 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001581/0.1147, allocations: 474.9 kB / 499.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000612/0.1153, allocations: 258 kB / 499.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.1154, allocations: 8 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.1154, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.1154, allocations: 0 / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1157, allocations: 55.81 kB / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.1158, allocations: 0 / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.1159, allocations: 0 / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1159, allocations: 4 kB / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.221e-05/0.1159, allocations: 0 / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.1159, allocations: 0 / 499.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1161, allocations: 63.95 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1161, allocations: 3.984 kB / 499.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.1161, allocations: 7.938 kB / 499.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1163, allocations: 59.81 kB / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1163, allocations: 0 / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1163, allocations: 0 / 500 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1163, allocations: 0 / 500 MB, free: 11.43 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.0003818/0.1167, allocations: 357.1 kB / 0.4886 GB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1167, allocations: 19.88 kB / 0.4886 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.1168, allocations: 30.75 kB / 0.4887 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.1168, allocations: 4.891 kB / 0.4887 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1169, allocations: 160.4 kB / 0.4888 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.117, allocations: 4.375 kB / 0.4888 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.117, allocations: 384 / 0.4888 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.1171, allocations: 34.2 kB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1171, allocations: 7.922 kB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.1171, allocations: 0 / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1171, allocations: 0 / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.1171, allocations: 7.938 kB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1173, allocations: 149.7 kB / 0.489 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.1174, allocations: 18.58 kB / 0.489 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.1174, allocations: 8.953 kB / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.1174, allocations: 0 / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.1174, allocations: 56.27 kB / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1175, allocations: 0 / 0.4891 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002026/0.1177, allocations: 75.27 kB / 0.4892 GB, free: 10.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.1177, allocations: 77.11 kB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.1178, allocations: 93.98 kB / 0.4893 GB, free: 10.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1178, allocations: 25.7 kB / 0.4894 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1179, allocations: 88.12 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1179, allocations: 3.938 kB / 0.4894 GB, free: 10 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1179, allocations: 9.719 kB / 0.4895 GB, free: 9.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1181, allocations: 318.8 kB / 0.4898 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.1181, allocations: 4 kB / 0.4898 GB, free: 9.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.1181, allocations: 0 / 0.4898 GB, free: 9.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.1182, allocations: 64.33 kB / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1182, allocations: 0 / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.554e-05/0.1183, allocations: 63.34 kB / 0.4899 GB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.1183, allocations: 37.69 kB / 0.4899 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1183, allocations: 3.938 kB / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1183, allocations: 0 / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.1183, allocations: 0 / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1183, allocations: 0 / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.1184, allocations: 4 kB / 0.4899 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1184, allocations: 4.031 kB / 0.4899 GB, free: 9.453 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 0.0001032/0.1185, allocations: 135.5 kB / 0.4901 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1185, allocations: 4 kB / 0.4901 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.1185, allocations: 7.062 kB / 0.4901 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1185, allocations: 0 / 0.4901 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1185, allocations: 0 / 0.4901 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1185, allocations: 7.922 kB / 0.4901 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1187, allocations: 141.7 kB / 0.4902 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1187, allocations: 0 / 0.4902 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-06/0.1187, allocations: 12 kB / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1187, allocations: 0 / 0.4902 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1187, allocations: 3.938 kB / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1187, allocations: 0 / 0.4902 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1187, allocations: 3.984 kB / 0.4902 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.1188, allocations: 94.77 kB / 0.4903 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1189, allocations: 77.11 kB / 0.4904 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1189, allocations: 3.938 kB / 0.4904 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-06/0.1189, allocations: 4.031 kB / 0.4904 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1189, allocations: 11.98 kB / 0.4904 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1189, allocations: 0 / 0.4904 GB, free: 8.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.569e-05/0.119, allocations: 75.28 kB / 0.4905 GB, free: 8.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 0.4905 GB, free: 8.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1192, allocations: 19.94 kB / 0.4905 GB, free: 8.75 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.0009368/0.1202, allocations: 0.8013 MB / 0.4913 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1203, allocations: 59.41 kB / 0.4914 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1203, allocations: 0 / 0.4914 GB, free: 7.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1203, allocations: 59.45 kB / 0.4914 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1205, allocations: 4 kB / 0.4914 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.1208, allocations: 126.3 kB / 0.4915 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.121, allocations: 0.6729 MB / 0.4922 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.759e-06/0.1211, allocations: 0 / 0.4922 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.1211, allocations: 7.438 kB / 0.4922 GB, free: 6.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1211, allocations: 0 / 0.4922 GB, free: 6.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1441, allocations: 1.618 MB / 0.4938 GB, free: 5.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.17, allocations: 4 kB / 0.4938 GB, free: 5.293 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