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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002277/0.002277, allocations: 217.5 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 71.89 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1097, allocations: 61.05 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001811/0.1116, allocations: 495 kB / 0.5166 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.1123, allocations: 257 kB / 0.5169 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.1123, allocations: 4 kB / 0.5169 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.14e-05/0.1123, allocations: 0 / 0.5169 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1123, allocations: 0 / 0.5169 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1127, allocations: 55.81 kB / 0.5169 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.741e-05/0.1127, allocations: 0 / 0.5169 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.1127, allocations: 7.984 kB / 0.5169 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.1128, allocations: 0 / 0.5169 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.1128, allocations: 3.938 kB / 0.5169 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1128, allocations: 0 / 0.5169 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.113, allocations: 59.95 kB / 0.517 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.113, allocations: 0 / 0.517 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.113, allocations: 7.938 kB / 0.517 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1132, allocations: 63.86 kB / 0.517 GB, free: 6.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1132, allocations: 0 / 0.517 GB, free: 6.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1132, allocations: 0 / 0.517 GB, free: 6.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1132, allocations: 0 / 0.517 GB, free: 6.27 MB / 398.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.0003551/0.1135, allocations: 291.9 kB / 0.5173 GB, free: 5.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1136, allocations: 8.031 kB / 0.5173 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.1136, allocations: 30.75 kB / 0.5174 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1136, allocations: 4.891 kB / 0.5174 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1137, allocations: 110.5 kB / 0.5175 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1137, allocations: 384 / 0.5175 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.1138, allocations: 4.375 kB / 0.5175 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.1139, allocations: 59.95 kB / 0.5175 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.1139, allocations: 3.938 kB / 0.5175 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1139, allocations: 0 / 0.5175 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1139, allocations: 0 / 0.5175 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.1139, allocations: 33.62 kB / 0.5176 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1141, allocations: 120.8 kB / 0.5177 GB, free: 5.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.1141, allocations: 44.31 kB / 0.5177 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.1142, allocations: 34.55 kB / 0.5178 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.1142, allocations: 0 / 0.5178 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.1142, allocations: 64.33 kB / 0.5178 GB, free: 5.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1142, allocations: 0 / 0.5178 GB, free: 5.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001949/0.1144, allocations: 126.7 kB / 0.5179 GB, free: 5.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1145, allocations: 77.11 kB / 0.518 GB, free: 5.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.1145, allocations: 89.86 kB / 0.5181 GB, free: 4.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1146, allocations: 25.7 kB / 0.5181 GB, free: 4.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.1146, allocations: 80.14 kB / 0.5182 GB, free: 4.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.1146, allocations: 0 / 0.5182 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1146, allocations: 17.72 kB / 0.5182 GB, free: 4.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1148, allocations: 310.8 kB / 0.5185 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.1148, allocations: 33.83 kB / 0.5185 GB, free: 4.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.1148, allocations: 25.7 kB / 0.5186 GB, free: 4.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.1149, allocations: 64.25 kB / 0.5186 GB, free: 4.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1149, allocations: 0 / 0.5186 GB, free: 4.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.819e-05/0.115, allocations: 93.05 kB / 0.5187 GB, free: 4.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.115, allocations: 29.7 kB / 0.5188 GB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.115, allocations: 7.922 kB / 0.5188 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1151, allocations: 0 / 0.5188 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1151, allocations: 0 / 0.5188 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1151, allocations: 8.031 kB / 0.5188 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.1151, allocations: 7.938 kB / 0.5188 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1151, allocations: 0 / 0.5188 GB, free: 4.199 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: 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.0001021/0.1152, allocations: 135.5 kB / 0.5189 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.1152, allocations: 0 / 0.5189 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.1152, allocations: 10.94 kB / 0.5189 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1152, allocations: 4 kB / 0.5189 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1152, allocations: 3.938 kB / 0.5189 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1152, allocations: 0 / 0.5189 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1153, allocations: 120.8 kB / 0.519 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1153, allocations: 0 / 0.519 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1153, allocations: 4 kB / 0.519 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1153, allocations: 0 / 0.519 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1153, allocations: 3.938 kB / 0.519 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1153, allocations: 0 / 0.519 GB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1153, allocations: 4 kB / 0.519 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.1155, allocations: 124.5 kB / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-06/0.1155, allocations: 0 / 0.5192 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1155, allocations: 3.938 kB / 0.5192 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.1155, allocations: 0 / 0.5192 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.1155, allocations: 4 kB / 0.5192 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1155, allocations: 4.031 kB / 0.5192 GB, free: 3.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.1155, allocations: 79.27 kB / 0.5193 GB, free: 3.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1155, allocations: 0 / 0.5193 GB, free: 3.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1158, allocations: 23.94 kB / 0.5193 GB, free: 3.598 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: 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.0009993/0.1168, allocations: 0.8322 MB / 0.5201 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1169, allocations: 122.7 kB / 0.5202 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1169, allocations: 0 / 0.5202 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.491e-05/0.117, allocations: 81.11 kB / 0.5203 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1171, allocations: 0 / 0.5203 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.1174, allocations: 148.2 kB / 0.5204 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.1175, allocations: 51.36 kB / 0.5205 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.31e-06/0.1175, allocations: 4 kB / 0.5205 GB, free: 2.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.1175, allocations: 7.438 kB / 0.5205 GB, free: 2.238 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1175, allocations: 0 / 0.5205 GB, free: 2.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1458, allocations: 2.154 MB / 0.5226 GB, free: 72 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.6, allocations: 3.938 kB / 0.5226 GB, free: 68 kB / 398.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.417409568093717]