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.00131/0.00131, allocations: 103 kB / 16.27 MB, free: 5.93 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.001299/0.001299, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.218/0.218, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 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.001443/0.001443, allocations: 74.09 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001587/0.1063, allocations: 497.4 kB / 441.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.1068, allocations: 251.8 kB / 441.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1069, allocations: 0 / 441.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.063e-05/0.1069, allocations: 0 / 441.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.178e-06/0.1069, allocations: 0 / 441.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1072, allocations: 51.81 kB / 441.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.441e-05/0.1072, allocations: 3.938 kB / 441.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1073, allocations: 4 kB / 441.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.1073, allocations: 4 kB / 441.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.1073, allocations: 3.984 kB / 441.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.1073, allocations: 0 / 441.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1074, allocations: 63.95 kB / 441.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.1075, allocations: 0 / 441.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.1075, allocations: 7.984 kB / 441.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.1076, allocations: 51.88 kB / 441.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1076, allocations: 0 / 441.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1076, allocations: 0 / 441.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1076, allocations: 0 / 441.5 MB, free: 5.887 MB / 318.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.0002412/0.1079, allocations: 369.2 kB / 441.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1079, allocations: 15.89 kB / 441.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.723e-05/0.1079, allocations: 30.75 kB / 441.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.1079, allocations: 0.9375 kB / 441.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.102e-05/0.108, allocations: 160.7 kB / 442.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.108, allocations: 384 / 442.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.108, allocations: 4.375 kB / 442.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.138e-05/0.1081, allocations: 26.27 kB / 442.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1081, allocations: 3.938 kB / 442.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.1081, allocations: 4 kB / 442.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1081, allocations: 3.938 kB / 442.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.524e-05/0.1081, allocations: 11.98 kB / 442.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.524e-05/0.1082, allocations: 141.7 kB / 442.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.462e-05/0.1082, allocations: 22.55 kB / 442.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.05e-05/0.1083, allocations: 8.797 kB / 442.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-06/0.1083, allocations: 0 / 442.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1083, allocations: 60.27 kB / 442.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1083, allocations: 0 / 442.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.1084, allocations: 75.33 kB / 442.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1085, allocations: 81.11 kB / 442.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.666e-05/0.1085, allocations: 89.86 kB / 442.6 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1085, allocations: 25.7 kB / 442.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-06/0.1085, allocations: 80.14 kB / 442.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.1085, allocations: 3.938 kB / 442.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.1086, allocations: 21.84 kB / 442.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.1086, allocations: 314.8 kB / 443.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.1086, allocations: 0 / 443.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.1086, allocations: 4 kB / 443.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.1087, allocations: 64.2 kB / 443.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1087, allocations: 0 / 443.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.614e-05/0.1087, allocations: 63.41 kB / 443.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1087, allocations: 33.69 kB / 443.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1088, allocations: 8.031 kB / 443.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1088, allocations: 0 / 443.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.1088, allocations: 4 kB / 443.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1088, allocations: 0 / 443.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1088, allocations: 0 / 443.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1088, allocations: 0 / 443.2 MB, free: 3.906 MB / 318.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 3.966e-05/0.1089, allocations: 139.5 kB / 443.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.1089, allocations: 0 / 443.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.286e-06/0.1089, allocations: 7.062 kB / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1089, allocations: 7.984 kB / 443.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1089, allocations: 0 / 443.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1089, allocations: 0 / 443.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.085e-05/0.1089, allocations: 145.7 kB / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1089, allocations: 0 / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.109, allocations: 0 / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.109, allocations: 0 / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.109, allocations: 3.938 kB / 443.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.109, allocations: 3.938 kB / 443.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.109, allocations: 3.938 kB / 443.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.646e-05/0.109, allocations: 98.81 kB / 443.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.1091, allocations: 81.11 kB / 443.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1091, allocations: 11.92 kB / 443.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-06/0.1091, allocations: 0 / 443.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1091, allocations: 0 / 443.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1091, allocations: 3.938 kB / 443.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.278e-06/0.1091, allocations: 75.28 kB / 443.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1091, allocations: 0 / 443.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1093, allocations: 24.03 kB / 443.8 MB, free: 3.203 MB / 318.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.0005093/0.1098, allocations: 0.7901 MB / 444.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.1099, allocations: 59.39 kB / 444.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1099, allocations: 0 / 444.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.11, allocations: 55.41 kB / 444.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1101, allocations: 4 kB / 444.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.1103, allocations: 118.6 kB / 444.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.608e-05/0.1104, allocations: 0.669 MB / 445.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.801e-06/0.1104, allocations: 4.125 kB / 445.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-06/0.1104, allocations: 15.38 kB / 445.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1104, allocations: 0 / 445.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.1273, allocations: 1.599 MB / 447.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.684, allocations: 8.938 kB / 447.1 MB, free: 15.82 MB / 334.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