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.001393/0.001393, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.00162, allocations: 204.8 kB / 16.79 MB, free: 6.84 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.645/1.645, allocations: 205.1 MB / 222.6 MB, free: 5.012 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3641/0.3641, allocations: 43.49 MB / 313.5 MB, free: 8.652 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.002505/0.002505, allocations: 67.91 kB / 382 MB, free: 9.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1517, allocations: 57.79 MB / 439.8 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002472/0.1542, allocations: 0.5425 MB / 440.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.1584, allocations: 2.094 MB / 442.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.1584, allocations: 0 / 442.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.1585, allocations: 0 / 442.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.134e-05/0.1585, allocations: 4 kB / 442.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1599, allocations: 291.3 kB / 442.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.16, allocations: 4 kB / 442.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.16, allocations: 0 / 442.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.1601, allocations: 4 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03376/0.1938, allocations: 3.215 MB / 446 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1939, allocations: 0 / 446 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.182e-05/0.194, allocations: 7.984 kB / 446 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.194, allocations: 0 / 446 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.194, allocations: 0 / 446 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.1941, allocations: 8 kB / 446 MB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1941, allocations: 0 / 446 MB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1941, allocations: 0 / 446 MB, free: 9.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1941, allocations: 0 / 446 MB, free: 9.016 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.0003072/0.1945, allocations: 323.6 kB / 446.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1945, allocations: 8.031 kB / 446.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1947, allocations: 88.11 kB / 446.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1948, allocations: 239.7 kB / 446.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.1949, allocations: 154.9 kB / 446.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.195, allocations: 158.6 kB / 446.9 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.7e-05/0.195, allocations: 105 kB / 447 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.1951, allocations: 79.22 kB / 447.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.1951, allocations: 150.6 kB / 447.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.1952, allocations: 150.6 kB / 447.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.1952, allocations: 154.6 kB / 447.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.1955, allocations: 449.9 kB / 448 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.1956, allocations: 165.1 kB / 448.1 MB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.1957, allocations: 88.02 kB / 448.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1957, allocations: 75.28 kB / 448.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.1958, allocations: 109.8 kB / 448.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1958, allocations: 4 kB / 448.4 MB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.091e-05/0.1959, allocations: 29.7 kB / 448.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.196, allocations: 178.1 kB / 448.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1961, allocations: 97.84 kB / 448.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1961, allocations: 29.64 kB / 448.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.1961, allocations: 80.14 kB / 448.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.1961, allocations: 0 / 448.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.1962, allocations: 17.84 kB / 448.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1963, allocations: 314.8 kB / 449.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-06/0.1963, allocations: 3.938 kB / 449.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.1963, allocations: 9.719 kB / 449.2 MB, free: 5.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.1964, allocations: 79.28 kB / 449.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.1964, allocations: 75.28 kB / 449.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.631e-05/0.1964, allocations: 33.62 kB / 449.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.1965, allocations: 87.31 kB / 449.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.1965, allocations: 79.22 kB / 449.5 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-05/0.1966, allocations: 154.5 kB / 449.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-05/0.1966, allocations: 75.28 kB / 449.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-05/0.1967, allocations: 158.5 kB / 449.9 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.1968, allocations: 79.28 kB / 450 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1968, allocations: 83.22 kB / 450 MB, free: 4.68 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.0001195/0.197, allocations: 272.3 kB / 450.3 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.197, allocations: 104.9 kB / 450.4 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.1971, allocations: 112.2 kB / 450.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.409e-05/0.1971, allocations: 184.2 kB / 450.7 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/0.1972, allocations: 180.2 kB / 450.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.999e-05/0.1973, allocations: 188.2 kB / 451.1 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.1976, allocations: 401.2 kB / 451.5 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/0.1976, allocations: 101 kB / 451.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1977, allocations: 112.9 kB / 451.7 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.135e-05/0.1978, allocations: 176.3 kB / 451.8 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.1978, allocations: 188.2 kB / 452 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-05/0.1979, allocations: 176.3 kB / 452.2 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-05/0.198, allocations: 180.2 kB / 452.4 MB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.1981, allocations: 307.8 kB / 452.7 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.1982, allocations: 186 kB / 452.9 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.1983, allocations: 180.3 kB / 453 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.1983, allocations: 101.4 kB / 453.1 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.1984, allocations: 192.2 kB / 453.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.1985, allocations: 105 kB / 453.4 MB, free: 1.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.1985, allocations: 75.28 kB / 453.5 MB, free: 1.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1985, allocations: 4.094 kB / 453.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1988, allocations: 4 kB / 453.5 MB, free: 1 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: 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.0001384/0.199, allocations: 170.5 kB / 453.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.809e-05/0.199, allocations: 3.984 kB / 453.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1991, allocations: 0 / 453.7 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.1991, allocations: 7.969 kB / 453.7 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1994, allocations: 0.534 MB / 454.2 MB, free: 280 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001781/0.1996, allocations: 154 kB / 454.4 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1748/0.3745, allocations: 0.6692 MB / 455 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.3746, allocations: 0 / 455 MB, free: 50.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.3746, allocations: 10.03 kB / 455 MB, free: 50.57 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3746, allocations: 0 / 455 MB, free: 50.57 MB / 382.1 MB Notification: Performance of Templates: time 0.001957/0.3765, allocations: 285.1 kB / 455.3 MB, free: 50.55 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches