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.002161/0.002161, allocations: 106.7 kB / 16.41 MB, free: 6.453 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.00198/0.00198, allocations: 189.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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2211/0.2211, 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.002252/0.002252, allocations: 71.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1064, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001505/0.1079, allocations: 486.8 kB / 499.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.1086, allocations: 254 kB / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.1086, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1087, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.942e-06/0.1087, allocations: 0 / 499.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.109, allocations: 51.81 kB / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.109, allocations: 8 kB / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.1091, allocations: 0 / 499.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.1091, allocations: 3.984 kB / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.883e-05/0.1091, allocations: 0 / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.1091, allocations: 0 / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1093, allocations: 63.95 kB / 499.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.1093, allocations: 11.88 kB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.1093, allocations: 3.938 kB / 499.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1095, allocations: 59.86 kB / 500 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1095, allocations: 0 / 500 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1095, allocations: 0 / 500 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1095, allocations: 0 / 500 MB, free: 11.41 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.0003584/0.1099, allocations: 361.1 kB / 0.4886 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1099, allocations: 11.89 kB / 0.4886 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.1099, allocations: 30.75 kB / 0.4887 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.11, allocations: 4.891 kB / 0.4887 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1101, allocations: 168.4 kB / 0.4888 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1101, allocations: 4.375 kB / 0.4888 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1101, allocations: 384 / 0.4888 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.961e-05/0.1102, allocations: 30.2 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1102, allocations: 3.938 kB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1102, allocations: 8 kB / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1102, allocations: 0 / 0.4889 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.1103, allocations: 3.938 kB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1104, allocations: 153.7 kB / 0.489 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.1105, allocations: 18.61 kB / 0.489 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.1105, allocations: 4.859 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.1105, allocations: 0 / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.1106, allocations: 60.33 kB / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1106, allocations: 0 / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001818/0.1108, allocations: 75.27 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.1108, allocations: 81.23 kB / 0.4893 GB, free: 10.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.1109, allocations: 89.86 kB / 0.4893 GB, free: 10.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1109, allocations: 25.7 kB / 0.4894 GB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1109, allocations: 80.14 kB / 0.4894 GB, free: 9.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.111, allocations: 0 / 0.4894 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.111, allocations: 13.72 kB / 0.4895 GB, free: 9.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1111, allocations: 310.8 kB / 0.4898 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.1111, allocations: 0 / 0.4898 GB, free: 9.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.1112, allocations: 8 kB / 0.4898 GB, free: 9.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.1112, allocations: 64.25 kB / 0.4898 GB, free: 9.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1112, allocations: 0 / 0.4898 GB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.153e-05/0.1113, allocations: 63.34 kB / 0.4899 GB, free: 9.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.1113, allocations: 29.7 kB / 0.4899 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1114, allocations: 11.92 kB / 0.4899 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1114, allocations: 0 / 0.4899 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.1114, allocations: 3.984 kB / 0.4899 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1114, allocations: 0 / 0.4899 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.1114, allocations: 8.031 kB / 0.4899 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1114, allocations: 0 / 0.4899 GB, free: 9.43 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 9.977e-05/0.1115, allocations: 143.5 kB / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.1115, allocations: 0 / 0.4901 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.1116, allocations: 7.062 kB / 0.4901 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1116, allocations: 0 / 0.4901 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1116, allocations: 0 / 0.4901 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1116, allocations: 11.92 kB / 0.4901 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1117, allocations: 145.7 kB / 0.4902 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1117, allocations: 4 kB / 0.4902 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1117, allocations: 0 / 0.4902 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1117, allocations: 0 / 0.4902 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.1117, allocations: 3.938 kB / 0.4902 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1117, allocations: 4 kB / 0.4902 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1118, allocations: 0 / 0.4902 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.1119, allocations: 90.77 kB / 0.4903 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.1119, allocations: 81.11 kB / 0.4904 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.1119, allocations: 7.969 kB / 0.4904 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.1119, allocations: 4 kB / 0.4904 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-06/0.112, allocations: 0 / 0.4904 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.112, allocations: 0 / 0.4904 GB, free: 8.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.112, allocations: 75.28 kB / 0.4905 GB, free: 8.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.112, allocations: 4 kB / 0.4905 GB, free: 8.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1123, allocations: 23.92 kB / 0.4905 GB, free: 8.723 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.001002/0.1133, allocations: 0.8069 MB / 0.4913 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1134, allocations: 55.41 kB / 0.4914 GB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1134, allocations: 4.062 kB / 0.4914 GB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.1134, allocations: 55.41 kB / 0.4914 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.1136, allocations: 3.984 kB / 0.4914 GB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.1139, allocations: 126.4 kB / 0.4915 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1142, allocations: 0.6729 MB / 0.4922 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.143e-06/0.1142, allocations: 0 / 0.4922 GB, free: 6.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1143, allocations: 11.38 kB / 0.4922 GB, free: 6.891 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1143, allocations: 0 / 0.4922 GB, free: 6.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.1372, allocations: 1.614 MB / 0.4938 GB, free: 5.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/8.787, allocations: 8 kB / 0.4938 GB, free: 5.258 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 & /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) 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) Reference file matches