Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001327/0.001326, allocations: 180.3 kB / 17.41 MB, free: 4.262 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.636/1.636, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0008597/0.0008595, allocations: 93.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.4088, allocations: 76.57 MB / 452.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4091, allocations: 75.95 kB / 452.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.4246, allocations: 5.276 MB / 457.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4246, allocations: 0 / 457.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.4246, allocations: 0 / 457.6 MB, free: 14.71 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.0004512/0.4251, allocations: 367.3 kB / 458 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4252, allocations: 8.031 kB / 458 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.4252, allocations: 4.922 kB / 458 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.4254, allocations: 172.3 kB / 458.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4254, allocations: 384 / 458.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.4254, allocations: 384 / 458.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.4255, allocations: 38.25 kB / 458.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4255, allocations: 4.188 kB / 458.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4256, allocations: 3.938 kB / 458.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4256, allocations: 0 / 458.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.4256, allocations: 7.938 kB / 458.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.426, allocations: 396.1 kB / 458.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4261, allocations: 173.1 kB / 458.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.4262, allocations: 80.14 kB / 458.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.4262, allocations: 75.28 kB / 458.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.566e-05/0.4263, allocations: 121.8 kB / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.4263, allocations: 0 / 459.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.141e-05/0.4264, allocations: 29.7 kB / 459.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.4265, allocations: 152.4 kB / 459.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4266, allocations: 113.8 kB / 459.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4267, allocations: 25.7 kB / 459.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.4267, allocations: 92.03 kB / 459.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.4267, allocations: 0 / 459.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.4268, allocations: 3.938 kB / 459.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4269, allocations: 318.8 kB / 459.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.4269, allocations: 4 kB / 459.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.4269, allocations: 0 / 459.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.427, allocations: 16.8 kB / 459.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.427, allocations: 3.984 kB / 459.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001166/0.4271, allocations: 37.64 kB / 459.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4271, allocations: 8 kB / 459.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4272, allocations: 128 / 459.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4272, allocations: 7.938 kB / 459.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.4272, allocations: 0 / 459.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4272, allocations: 0 / 459.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.4273, allocations: 4 kB / 459.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.4273, allocations: 3.984 kB / 459.9 MB, free: 12.25 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.0001256/0.4274, allocations: 193.5 kB / 460.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.4275, allocations: 104.9 kB / 460.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.709e-05/0.4276, allocations: 116.3 kB / 460.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/0.4277, allocations: 188.2 kB / 460.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.579e-05/0.4278, allocations: 176.3 kB / 460.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/0.4278, allocations: 180.3 kB / 460.8 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.4281, allocations: 413.1 kB / 461.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.985e-05/0.4282, allocations: 105 kB / 461.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.4282, allocations: 112.9 kB / 461.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.4283, allocations: 180.2 kB / 461.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.4284, allocations: 176.3 kB / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.65e-05/0.4284, allocations: 180.2 kB / 461.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-05/0.4285, allocations: 180.3 kB / 462.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4287, allocations: 323.6 kB / 462.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4288, allocations: 178.1 kB / 462.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.4289, allocations: 184.2 kB / 462.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.429, allocations: 109 kB / 462.9 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.4291, allocations: 184.2 kB / 463.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.4292, allocations: 105 kB / 463.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.23e-05/0.4292, allocations: 95.27 kB / 463.3 MB, free: 8.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4292, allocations: 0 / 463.3 MB, free: 8.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003439/0.4296, allocations: 47.94 kB / 463.3 MB, free: 8.574 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.0006166/0.4302, allocations: 272.9 kB / 463.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.104e-05/0.4303, allocations: 3.938 kB / 463.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4303, allocations: 4 kB / 463.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.4303, allocations: 0 / 463.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.4307, allocations: 0.5302 MB / 464.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.431, allocations: 196.2 kB / 464.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4313, allocations: 0.6776 MB / 465 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.4313, allocations: 11.42 kB / 465 MB, free: 6.828 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4313, allocations: 0 / 465 MB, free: 6.828 MB / 346.7 MB Notification: Performance of Templates: time 0.003001/0.4343, allocations: 1.13 MB / 466.1 MB, free: 5.707 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches