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.001731/0.001731, allocations: 102.5 kB / 16.27 MB, free: 6.102 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.001913/0.001913, allocations: 181 kB / 17.19 MB, free: 5.727 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.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2188/0.2188, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001522/0.001523, allocations: 75.05 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1617, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001965/0.1637, allocations: 485 kB / 441 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.1668, allocations: 2.048 MB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1668, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.1669, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.167, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1682, allocations: 374.8 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.1683, allocations: 8 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.1683, allocations: 0 / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.1683, allocations: 4 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01428/0.1826, allocations: 3.353 MB / 446.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1827, allocations: 0 / 446.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1828, allocations: 8 kB / 446.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.1828, allocations: 3.984 kB / 446.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1829, allocations: 0 / 446.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.183, allocations: 7.984 kB / 446.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1831, allocations: 7.938 kB / 446.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1831, allocations: 0 / 446.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1831, allocations: 4 kB / 446.8 MB, free: 0.7148 MB / 318.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.0003519/0.1834, allocations: 319.5 kB / 447.1 MB, free: 364 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1835, allocations: 15.88 kB / 447.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.1837, allocations: 84.22 kB / 447.2 MB, free: 264 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1839, allocations: 239.7 kB / 447.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.1839, allocations: 162.9 kB / 447.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.184, allocations: 158.7 kB / 447.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.1841, allocations: 101 kB / 447.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.1842, allocations: 75.28 kB / 447.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.751e-05/0.1842, allocations: 150.6 kB / 448.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.1843, allocations: 154.6 kB / 448.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.1844, allocations: 154.6 kB / 448.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1848, allocations: 449.8 kB / 448.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1849, allocations: 165.1 kB / 449 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.185, allocations: 84.08 kB / 449.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.185, allocations: 87.27 kB / 449.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/0.1851, allocations: 105.8 kB / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1851, allocations: 0 / 449.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.519e-05/0.1852, allocations: 29.64 kB / 449.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1853, allocations: 182.1 kB / 449.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1855, allocations: 93.86 kB / 449.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1855, allocations: 29.83 kB / 449.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.1855, allocations: 80.14 kB / 449.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.1856, allocations: 0 / 449.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1856, allocations: 13.72 kB / 449.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1857, allocations: 314.8 kB / 450 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-06/0.1857, allocations: 0 / 450 MB, free: 13.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.032e-05/0.1858, allocations: 21.72 kB / 450 MB, free: 13.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.1858, allocations: 75.31 kB / 450.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/0.1859, allocations: 79.28 kB / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.912e-05/0.1859, allocations: 37.58 kB / 450.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.186, allocations: 79.28 kB / 450.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.379e-05/0.186, allocations: 75.28 kB / 450.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-05/0.1861, allocations: 154.6 kB / 450.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.1862, allocations: 83.22 kB / 450.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.202e-05/0.1863, allocations: 158.5 kB / 450.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1864, allocations: 79.22 kB / 450.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.1864, allocations: 79.28 kB / 450.9 MB, free: 12.38 MB / 334.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.0001619/0.1866, allocations: 264.3 kB / 451.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.1867, allocations: 108.9 kB / 451.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.1868, allocations: 116 kB / 451.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.936e-05/0.1868, allocations: 180.3 kB / 451.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-05/0.1869, allocations: 184.2 kB / 451.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.198e-05/0.187, allocations: 176.3 kB / 451.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.1873, allocations: 409.1 kB / 452.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/0.1873, allocations: 101 kB / 452.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.1874, allocations: 105 kB / 452.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.654e-05/0.1875, allocations: 184.2 kB / 452.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.1876, allocations: 184.2 kB / 452.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001507/0.1878, allocations: 184.2 kB / 453 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/0.1878, allocations: 180.3 kB / 453.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.188, allocations: 311.7 kB / 453.5 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/0.1881, allocations: 182.5 kB / 453.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/0.1882, allocations: 184.2 kB / 453.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.1883, allocations: 101 kB / 454 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.1884, allocations: 180.3 kB / 454.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.1884, allocations: 116.9 kB / 454.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.1885, allocations: 75.28 kB / 454.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1885, allocations: 0 / 454.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1888, allocations: 4 kB / 454.3 MB, free: 8.695 MB / 334.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.0001357/0.1889, allocations: 170.5 kB / 454.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.609e-05/0.189, allocations: 0 / 454.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.189, allocations: 0 / 454.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.189, allocations: 4.094 kB / 454.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.1894, allocations: 463.6 kB / 454.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.1897, allocations: 144.4 kB / 455.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.1901, allocations: 0.6729 MB / 455.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.1901, allocations: 3.984 kB / 455.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.1901, allocations: 11.44 kB / 455.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1901, allocations: 0 / 455.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Templates: time 0.002655/0.1928, allocations: 304.6 kB / 456.1 MB, free: 6.879 MB / 334.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