Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.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.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.001558/0.001558, allocations: 112.4 kB / 16.41 MB, free: 6.488 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.001747/0.001747, 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2112/0.2112, allocations: 43.52 MB / 314.1 MB, free: 480 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.001898/0.001898, allocations: 67.91 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.09071, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001331/0.09208, allocations: 494.8 kB / 499.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.09387, allocations: 1.268 MB / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.09391, allocations: 0 / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.09393, allocations: 0 / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.09407, allocations: 3.938 kB / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.09501, allocations: 261.6 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.09506, allocations: 7.984 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.842e-05/0.09509, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/0.09512, allocations: 11.92 kB / 0.4894 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.09519, allocations: 8 kB / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.09521, allocations: 0 / 0.4894 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.09889, allocations: 0.6803 MB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-06/0.09891, allocations: 3.984 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.09893, allocations: 0 / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.09919, allocations: 183.5 kB / 0.4902 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0992, allocations: 0 / 0.4902 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0992, allocations: 0 / 0.4902 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09921, allocations: 0 / 0.4902 GB, free: 9.484 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.0003752/0.09959, allocations: 392.2 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.09963, allocations: 19.83 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.09967, allocations: 38.67 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.09969, allocations: 0.9375 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.09981, allocations: 160.4 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.09983, allocations: 8.375 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.09984, allocations: 384 / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.897e-05/0.09991, allocations: 37.64 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.09992, allocations: 0 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.09993, allocations: 0 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-06/0.09994, allocations: 0 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.481e-05/0.09996, allocations: 3.984 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.1001, allocations: 145.7 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.744e-05/0.1001, allocations: 22.52 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.1002, allocations: 12.92 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.1002, allocations: 3.938 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.1002, allocations: 64.23 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.1002, allocations: 0 / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.1004, allocations: 63.34 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1004, allocations: 81.11 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.1005, allocations: 102 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1005, allocations: 25.7 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.1006, allocations: 84.14 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.1006, allocations: 3.953 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1006, allocations: 9.719 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1007, allocations: 310.8 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.1008, allocations: 7.938 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-06/0.1008, allocations: 4.016 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.581e-05/0.1008, allocations: 64.45 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1008, allocations: 0 / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.341e-05/0.1009, allocations: 71.27 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.101, allocations: 33.7 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.101, allocations: 0 / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.101, allocations: 0 / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.101, allocations: 0 / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.101, allocations: 0 / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.101, allocations: 3.984 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.101, allocations: 4.031 kB / 0.4919 GB, free: 7.465 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 8.873e-05/0.1011, allocations: 147.5 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1011, allocations: 3.938 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-06/0.1011, allocations: 3.125 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1011, allocations: 4 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1011, allocations: 0 / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.1012, allocations: 3.938 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.704e-05/0.1013, allocations: 145.7 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1013, allocations: 3.938 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.1013, allocations: 8 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1013, allocations: 4 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.1013, allocations: 0 / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1013, allocations: 0 / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1013, allocations: 0 / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.1014, allocations: 98.78 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.1014, allocations: 81.05 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1015, allocations: 4 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.1015, allocations: 4.031 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.1015, allocations: 0 / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1015, allocations: 4 kB / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.1015, allocations: 83.27 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1016, allocations: 0 / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1018, allocations: 63.8 kB / 0.4925 GB, free: 6.703 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.0009571/0.1028, allocations: 0.8433 MB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.1029, allocations: 67.33 kB / 0.4934 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1029, allocations: 0 / 0.4934 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.1029, allocations: 59.41 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.1031, allocations: 7.938 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.1034, allocations: 154.2 kB / 0.4936 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1036, allocations: 0.6729 MB / 0.4943 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.144e-06/0.1036, allocations: 0 / 0.4943 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.1037, allocations: 7.438 kB / 0.4943 GB, free: 4.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1037, allocations: 0 / 0.4943 GB, free: 4.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9622/1.066, allocations: 2.536 MB / 0.4968 GB, free: 2.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.462, allocations: 3.938 kB / 0.4968 GB, free: 2.191 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches