Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 182.9 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 224.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009003/0.0009002, allocations: 93.72 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 47.56 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.3778, allocations: 76.58 MB / 453.6 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.3782, allocations: 75.94 kB / 453.7 MB, free: 3.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01659/0.3948, allocations: 5.274 MB / 458.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.3949, allocations: 0 / 458.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3949, allocations: 0 / 458.9 MB, free: 14.63 MB / 346.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.0004663/0.3954, allocations: 371.3 kB / 459.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.3955, allocations: 12.03 kB / 459.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.3955, allocations: 0.9375 kB / 459.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3957, allocations: 172.3 kB / 459.5 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3957, allocations: 384 / 459.5 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3958, allocations: 384 / 459.5 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.3959, allocations: 34.27 kB / 459.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3959, allocations: 192 / 459.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3959, allocations: 7.938 kB / 459.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3959, allocations: 0 / 459.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.396, allocations: 11.92 kB / 459.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.3964, allocations: 392.1 kB / 459.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.3965, allocations: 169.1 kB / 460.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.3965, allocations: 88.12 kB / 460.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3966, allocations: 75.28 kB / 460.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.3966, allocations: 109.8 kB / 460.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.3966, allocations: 3.938 kB / 460.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.3967, allocations: 29.7 kB / 460.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3968, allocations: 152.4 kB / 460.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3969, allocations: 117.8 kB / 460.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.397, allocations: 29.7 kB / 460.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.397, allocations: 84.05 kB / 460.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.397, allocations: 3.938 kB / 460.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-06/0.397, allocations: 0 / 460.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3972, allocations: 322.8 kB / 461.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.3972, allocations: 0 / 461.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.3972, allocations: 4 kB / 461.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.3973, allocations: 20.89 kB / 461.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3973, allocations: 0 / 461.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001288/0.3974, allocations: 41.62 kB / 461.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3974, allocations: 4 kB / 461.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3974, allocations: 0 / 461.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3975, allocations: 3.938 kB / 461.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.3976, allocations: 4 kB / 461.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3976, allocations: 0 / 461.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.3976, allocations: 0 / 461.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3976, allocations: 0 / 461.2 MB, free: 12.18 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.3978, allocations: 201.5 kB / 461.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3979, allocations: 108.9 kB / 461.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.3979, allocations: 112.3 kB / 461.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-05/0.398, allocations: 180.3 kB / 461.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.945e-05/0.3981, allocations: 184.2 kB / 461.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-05/0.3982, allocations: 184.3 kB / 462.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.3984, allocations: 413.1 kB / 462.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/0.3985, allocations: 101 kB / 462.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.3985, allocations: 105 kB / 462.7 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.952e-05/0.3986, allocations: 180.2 kB / 462.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.3987, allocations: 188.2 kB / 463.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-05/0.3987, allocations: 184.2 kB / 463.3 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.839e-05/0.3988, allocations: 176.3 kB / 463.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.399, allocations: 311.6 kB / 463.7 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3991, allocations: 186.1 kB / 463.9 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.3992, allocations: 184.2 kB / 464.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.3993, allocations: 101 kB / 464.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.3993, allocations: 192.2 kB / 464.4 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3994, allocations: 105 kB / 464.5 MB, free: 8.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.857e-05/0.3994, allocations: 87.28 kB / 464.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 0 / 464.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003772/0.3998, allocations: 51.92 kB / 464.6 MB, free: 8.496 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000532/0.4004, allocations: 267.7 kB / 464.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.4005, allocations: 11.98 kB / 464.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4005, allocations: 3.938 kB / 464.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4005, allocations: 0 / 464.9 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.4009, allocations: 0.5301 MB / 465.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.4011, allocations: 166.6 kB / 465.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4014, allocations: 0.677 MB / 466.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.4014, allocations: 7.984 kB / 466.3 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.4015, allocations: 11.44 kB / 466.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4015, allocations: 0 / 466.3 MB, free: 6.773 MB / 346.7 MB Notification: Performance of Templates: time 0.003422/0.4049, allocations: 1.078 MB / 467.4 MB, free: 5.699 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches