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: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") 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: 110.6 kB / 16.41 MB, free: 6.504 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.001192/0.001192, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.52/1.52, 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.2805/0.2805, allocations: 43.53 MB / 314.1 MB, free: 456 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.00181/0.00181, allocations: 73.45 kB / 441.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1897, allocations: 57.79 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001889/0.1916, allocations: 498.8 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.194, allocations: 1.268 MB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1941, allocations: 4 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.1941, allocations: 3.938 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1944, allocations: 0 / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1957, allocations: 257.6 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.1957, allocations: 7.984 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1958, allocations: 0 / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.1958, allocations: 11.88 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.1959, allocations: 7.984 kB / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.1959, allocations: 0 / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.1991, allocations: 0.6877 MB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.1992, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1992, allocations: 3.984 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.1997, allocations: 179.6 kB / 0.4907 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1997, allocations: 4 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1997, allocations: 0 / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1997, allocations: 0 / 0.4907 GB, free: 8.961 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.0006942/0.2004, allocations: 385.1 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.2005, allocations: 11.89 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.2005, allocations: 0.9375 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2008, allocations: 164.4 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2008, allocations: 384 / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2008, allocations: 8.312 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.201, allocations: 33.83 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.201, allocations: 0 / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.201, allocations: 12 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2011, allocations: 0 / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.2011, allocations: 3.984 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.2013, allocations: 153.6 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.2014, allocations: 14.58 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.2014, allocations: 4.859 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2014, allocations: 4.062 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.004e-05/0.2015, allocations: 68.2 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2015, allocations: 0 / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002252/0.2017, allocations: 67.33 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.2018, allocations: 77.11 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.2019, allocations: 97.86 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2019, allocations: 25.95 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.202, allocations: 84.14 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.202, allocations: 7.984 kB / 0.4919 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.202, allocations: 9.719 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2022, allocations: 314.8 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.2022, allocations: 4 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.2022, allocations: 16 / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.2023, allocations: 68.2 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2023, allocations: 4.062 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.75e-05/0.2024, allocations: 75.17 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.2024, allocations: 29.7 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2024, allocations: 0 / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2025, allocations: 4 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.2025, allocations: 0 / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-06/0.2025, allocations: 0 / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.2025, allocations: 0 / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2025, allocations: 0 / 0.4924 GB, free: 6.992 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.0001105/0.2026, allocations: 147.5 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2026, allocations: 3.938 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.756e-05/0.2027, allocations: 7.109 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2027, allocations: 0 / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2027, allocations: 0 / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2027, allocations: 4 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2028, allocations: 141.7 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2028, allocations: 0 / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.2029, allocations: 3.938 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2029, allocations: 3.984 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2029, allocations: 11.94 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2029, allocations: 0 / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2029, allocations: 0 / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.203, allocations: 94.8 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.2031, allocations: 85.03 kB / 0.4928 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2031, allocations: 0 / 0.4928 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.2031, allocations: 8 kB / 0.4928 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.2031, allocations: 4.031 kB / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2032, allocations: 0 / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.2032, allocations: 79.28 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2032, allocations: 0 / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.2036, allocations: 67.98 kB / 0.493 GB, free: 6.23 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.0007643/0.2044, allocations: 322 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.2046, allocations: 59.41 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2046, allocations: 0 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.2046, allocations: 63.33 kB / 0.4934 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2048, allocations: 3.938 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.2051, allocations: 88.98 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2055, allocations: 0.6807 MB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.027e-05/0.2055, allocations: 0 / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.2056, allocations: 7.438 kB / 0.4942 GB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2056, allocations: 0 / 0.4942 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Templates: time 0.006361/0.2119, allocations: 1.58 MB / 0.4957 GB, free: 3.348 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches