Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.00102, 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.001036/0.001036, 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.747/1.747, 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.2673/0.2673, allocations: 43.52 MB / 314.1 MB, free: 448 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.001476/0.001476, allocations: 65.47 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.176, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001992/0.178, allocations: 486.6 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1815, allocations: 2.05 MB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1815, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1816, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.1816, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1829, allocations: 370.8 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.502e-05/0.183, allocations: 15.92 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.183, allocations: 0 / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.1831, allocations: 11.92 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01534/0.1984, allocations: 3.349 MB / 0.494 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1984, allocations: 4 kB / 0.494 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1986, allocations: 12 kB / 0.494 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1986, allocations: 0 / 0.494 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1986, allocations: 4 kB / 0.494 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1988, allocations: 7.984 kB / 0.494 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1989, allocations: 0 / 0.494 GB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1989, allocations: 0 / 0.494 GB, free: 5.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1989, allocations: 0 / 0.494 GB, free: 5.531 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004559/0.1993, allocations: 319.5 kB / 0.4943 GB, free: 5.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.1994, allocations: 15.89 kB / 0.4943 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.1997, allocations: 88.2 kB / 0.4944 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1999, allocations: 235.7 kB / 0.4946 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/0.2, allocations: 154.9 kB / 0.4948 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.2, allocations: 158.7 kB / 0.4949 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.651e-05/0.2001, allocations: 108.9 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.2002, allocations: 79.28 kB / 0.4951 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/0.2002, allocations: 150.6 kB / 0.4953 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.2003, allocations: 154.6 kB / 0.4954 GB, free: 4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.2004, allocations: 150.6 kB / 0.4956 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2007, allocations: 445.9 kB / 0.496 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.2008, allocations: 177.1 kB / 0.4961 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.298e-05/0.2009, allocations: 84.08 kB / 0.4962 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.2009, allocations: 75.28 kB / 0.4963 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.201, allocations: 105.8 kB / 0.4964 GB, free: 2.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.201, allocations: 0 / 0.4964 GB, free: 2.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.188e-05/0.2011, allocations: 33.7 kB / 0.4964 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.2012, allocations: 182.1 kB / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2013, allocations: 93.86 kB / 0.4967 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2013, allocations: 29.7 kB / 0.4967 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.2014, allocations: 80.14 kB / 0.4968 GB, free: 2.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.2014, allocations: 0 / 0.4968 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.2014, allocations: 13.66 kB / 0.4968 GB, free: 2.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.2015, allocations: 319 kB / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.2015, allocations: 0 / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.2016, allocations: 13.77 kB / 0.4971 GB, free: 2.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.2016, allocations: 75.28 kB / 0.4972 GB, free: 2.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/0.2016, allocations: 75.28 kB / 0.4973 GB, free: 1.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.515e-05/0.2017, allocations: 37.62 kB / 0.4973 GB, free: 1.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.2018, allocations: 83.22 kB / 0.4974 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.2018, allocations: 87.22 kB / 0.4975 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.339e-05/0.2019, allocations: 154.6 kB / 0.4976 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.859e-05/0.2019, allocations: 75.28 kB / 0.4977 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.6e-05/0.202, allocations: 154.5 kB / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2021, allocations: 79.28 kB / 0.4979 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2021, allocations: 79.22 kB / 0.498 GB, free: 1.195 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001466/0.2023, allocations: 276.3 kB / 0.4983 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.2023, allocations: 104.9 kB / 0.4984 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.2024, allocations: 104.1 kB / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/0.2025, allocations: 184.2 kB / 0.4986 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-05/0.2026, allocations: 176.3 kB / 0.4988 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/0.2026, allocations: 192.1 kB / 0.499 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.2029, allocations: 405.2 kB / 0.4994 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/0.203, allocations: 108.9 kB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.203, allocations: 105 kB / 0.4996 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-05/0.2031, allocations: 176.3 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.2032, allocations: 184.2 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.273e-05/0.2033, allocations: 188.3 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/0.2033, allocations: 180.5 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.2035, allocations: 303.8 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2036, allocations: 190 kB / 0.5007 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2037, allocations: 184.3 kB / 0.5009 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.2038, allocations: 108.9 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.2039, allocations: 176.3 kB / 0.5012 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.204, allocations: 101 kB / 0.5013 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.204, allocations: 79.28 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.204, allocations: 0 / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.2043, allocations: 0 / 0.5014 GB, free: 13.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001333/0.2045, allocations: 178.6 kB / 0.5015 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.2045, allocations: 4 kB / 0.5015 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2045, allocations: 0 / 0.5015 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.2045, allocations: 0 / 0.5015 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.2049, allocations: 459.6 kB / 0.502 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.2052, allocations: 168.2 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2055, allocations: 0.669 MB / 0.5028 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2055, allocations: 3.984 kB / 0.5028 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.2056, allocations: 11.44 kB / 0.5028 GB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.014e-06/0.2056, allocations: 0 / 0.5028 GB, free: 11.97 MB / 398.1 MB Notification: Performance of Templates: time 0.002764/0.2083, allocations: 300.6 kB / 0.5031 GB, free: 11.68 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches