Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.8 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009745/0.0009743, allocations: 103.3 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009009/0.000901, allocations: 47.92 kB / 356.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1904, allocations: 50.45 MB / 407 MB, free: 27.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001496/0.1919, allocations: 0.5654 MB / 407.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1932, allocations: 1.47 MB / 409.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.1932, allocations: 0 / 409.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1933, allocations: 0 / 409.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.834e-05/0.1933, allocations: 4 kB / 409.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1938, allocations: 142.1 kB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.045e-05/0.1938, allocations: 15.98 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1939, allocations: 0 / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.1939, allocations: 19.86 kB / 409.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.194, allocations: 11.98 kB / 409.3 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.194, allocations: 4 kB / 409.3 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.1942, allocations: 124.4 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1942, allocations: 4 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.1942, allocations: 3.938 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1944, allocations: 127.8 kB / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1944, allocations: 0 / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1944, allocations: 0 / 409.5 MB, free: 25.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1944, allocations: 0 / 409.5 MB, free: 25.38 MB / 298.7 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.0002539/0.1947, allocations: 343.5 kB / 409.9 MB, free: 25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1947, allocations: 12.59 kB / 409.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1948, allocations: 4.938 kB / 409.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/0.1949, allocations: 169.8 kB / 410 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1949, allocations: 4.375 kB / 410 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1949, allocations: 4.125 kB / 410 MB, free: 24.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.661e-05/0.195, allocations: 33.7 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.195, allocations: 0 / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1951, allocations: 0 / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1951, allocations: 3.984 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1951, allocations: 7.938 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1954, allocations: 473 kB / 410.6 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.1954, allocations: 169.2 kB / 410.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.1954, allocations: 84.17 kB / 410.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.1954, allocations: 79.28 kB / 410.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1955, allocations: 117.7 kB / 411 MB, free: 23.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.1955, allocations: 0 / 411 MB, free: 23.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.019e-05/0.1955, allocations: 37.62 kB / 411 MB, free: 23.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1956, allocations: 152.4 kB / 411.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.1957, allocations: 105.9 kB / 411.3 MB, free: 23.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.413e-06/0.1957, allocations: 29.7 kB / 411.3 MB, free: 23.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.1957, allocations: 88.12 kB / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1957, allocations: 4 kB / 411.4 MB, free: 23.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.1957, allocations: 13.72 kB / 411.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.1958, allocations: 318.8 kB / 411.7 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.1958, allocations: 7.984 kB / 411.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.1959, allocations: 0 / 411.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.1959, allocations: 12.8 kB / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1959, allocations: 0 / 411.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.899e-05/0.196, allocations: 41.7 kB / 411.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.196, allocations: 6.812 kB / 411.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.196, allocations: 0 / 411.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.196, allocations: 0 / 411.8 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.1961, allocations: 7.984 kB / 411.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1961, allocations: 0 / 411.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.1961, allocations: 0 / 411.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1961, allocations: 8 kB / 411.8 MB, free: 22.84 MB / 298.7 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 (1): * Single equations (assignments): 1 * 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 4.997e-05/0.1962, allocations: 190.5 kB / 412 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1962, allocations: 113 kB / 412.1 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.1963, allocations: 104.5 kB / 412.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.1963, allocations: 184.2 kB / 412.4 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.1963, allocations: 184.3 kB / 412.6 MB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.1963, allocations: 176.3 kB / 412.7 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1965, allocations: 413.1 kB / 413.1 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.1965, allocations: 105 kB / 413.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.1965, allocations: 104.9 kB / 413.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.173e-05/0.1965, allocations: 180.2 kB / 413.5 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.1966, allocations: 180.3 kB / 413.7 MB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.1966, allocations: 180.2 kB / 413.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/0.1966, allocations: 180.3 kB / 414.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.1968, allocations: 0.853 MB / 414.9 MB, free: 19.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1968, allocations: 186.1 kB / 415.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.1968, allocations: 180.3 kB / 415.3 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.1969, allocations: 112.8 kB / 415.4 MB, free: 19.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.1969, allocations: 180.3 kB / 415.5 MB, free: 18.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1969, allocations: 108.9 kB / 415.7 MB, free: 18.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.197, allocations: 91.52 kB / 415.7 MB, free: 18.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.197, allocations: 3.938 kB / 415.7 MB, free: 18.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.1973, allocations: 40 kB / 415.8 MB, free: 18.59 MB / 298.7 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.0003089/0.1977, allocations: 253.2 kB / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.046e-05/0.1977, allocations: 7.984 kB / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1977, allocations: 0 / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1977, allocations: 0 / 416 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.198, allocations: 0.5225 MB / 416.6 MB, free: 17.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001518/0.1982, allocations: 166 kB / 416.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.396e-05/0.1983, allocations: 0.6731 MB / 417.4 MB, free: 16.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.826e-05/0.1984, allocations: 19.92 kB / 417.4 MB, free: 16.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.1984, allocations: 11.38 kB / 417.4 MB, free: 16.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1984, allocations: 0 / 417.4 MB, free: 16.89 MB / 298.7 MB Notification: Performance of Templates: time 0.002601/0.201, allocations: 0.9512 MB / 418.4 MB, free: 15.94 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches