Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002059/0.00206, allocations: 198.8 kB / 18.07 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.806/2.806, allocations: 226.5 MB / 245.4 MB, free: 6.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001478, allocations: 100.4 kB / 297.4 MB, free: 6.711 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004274, allocations: 8 kB / 357.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6251/0.6255, allocations: 51.29 MB / 408.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.8136, allocations: 76.93 MB / 485.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.8141, allocations: 71.95 kB / 485.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02183/0.8359, allocations: 5.275 MB / 490.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.836, allocations: 0 / 490.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.8361, allocations: 0 / 490.9 MB, free: 9.371 MB / 362.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.0005511/0.8366, allocations: 359.4 kB / 491.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.8367, allocations: 8.031 kB / 491.3 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.8369, allocations: 8.938 kB / 491.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.8371, allocations: 164.3 kB / 491.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.8371, allocations: 384 / 491.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.8372, allocations: 8.312 kB / 491.5 MB, free: 8.746 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.8373, allocations: 38.25 kB / 491.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8373, allocations: 192 / 491.5 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.8374, allocations: 3.938 kB / 491.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8374, allocations: 4 kB / 491.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.8374, allocations: 0 / 491.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.8424, allocations: 473.1 kB / 492 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.8426, allocations: 177 kB / 492.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.8427, allocations: 80.14 kB / 492.2 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.8428, allocations: 83.22 kB / 492.3 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/0.8429, allocations: 109.8 kB / 492.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 5.49e-06/0.8429, allocations: 0 / 492.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.000136/0.843, allocations: 29.61 kB / 492.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.8432, allocations: 160.3 kB / 492.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.8433, allocations: 109.8 kB / 492.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.8434, allocations: 25.7 kB / 492.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.8435, allocations: 88.06 kB / 492.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.8435, allocations: 4 kB / 492.8 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.8435, allocations: 4 kB / 492.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.8437, allocations: 314.8 kB / 493.1 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.8437, allocations: 4 kB / 493.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.8438, allocations: 4 kB / 493.1 MB, free: 6.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/0.8438, allocations: 8.859 kB / 493.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8438, allocations: 0 / 493.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001777/0.844, allocations: 37.67 kB / 493.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.8441, allocations: 16.02 kB / 493.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8441, allocations: 0 / 493.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.8441, allocations: 0 / 493.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.8442, allocations: 0 / 493.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.8442, allocations: 4 kB / 493.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.8443, allocations: 0 / 493.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.8443, allocations: 0 / 493.2 MB, free: 6.844 MB / 362.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.0001966/0.8445, allocations: 193.1 kB / 493.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.8446, allocations: 112.9 kB / 493.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.103e-05/0.8447, allocations: 116.4 kB / 493.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/0.8448, allocations: 176.3 kB / 493.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.8449, allocations: 183.3 kB / 494 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/0.845, allocations: 184.2 kB / 494.1 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.8454, allocations: 409.2 kB / 494.5 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.184e-05/0.8455, allocations: 104.9 kB / 494.7 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.8456, allocations: 113 kB / 494.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.8457, allocations: 176.3 kB / 494.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.8458, allocations: 184.1 kB / 495.1 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.99e-05/0.8459, allocations: 176.3 kB / 495.3 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.216e-05/0.846, allocations: 188.2 kB / 495.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.8462, allocations: 315.6 kB / 495.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.8464, allocations: 178.1 kB / 496 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.8465, allocations: 176.5 kB / 496.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8466, allocations: 116.9 kB / 496.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.8467, allocations: 184.3 kB / 496.4 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.8468, allocations: 104.9 kB / 496.5 MB, free: 3.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.8469, allocations: 91.27 kB / 496.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8469, allocations: 0 / 496.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005474/0.8474, allocations: 47.94 kB / 496.7 MB, free: 3.164 MB / 362.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.0006958/0.8481, allocations: 256.2 kB / 496.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.8483, allocations: 4 kB / 496.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8483, allocations: 0 / 496.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.8483, allocations: 0 / 496.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006292/0.8489, allocations: 0.5336 MB / 497.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.8493, allocations: 195.7 kB / 497.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.8499, allocations: 0.6692 MB / 498.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.8499, allocations: 11.44 kB / 498.3 MB, free: 1.445 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.8499, allocations: 0 / 498.3 MB, free: 1.445 MB / 362.7 MB Notification: Performance of Templates: time 0.004932/0.8549, allocations: 1.008 MB / 499.3 MB, free: 452 kB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches