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.001142/0.001142, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.2 MB / 245 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 106 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002225/0.0002228, allocations: 8 kB / 357.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09385/0.3392, allocations: 77.01 MB / 486.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.3395, allocations: 67.97 kB / 486.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.3548, allocations: 5.284 MB / 491.8 MB, free: 8.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3549, allocations: 0 / 491.8 MB, free: 8.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3549, allocations: 0 / 491.8 MB, free: 8.266 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.0003843/0.3553, allocations: 359.1 kB / 492.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3553, allocations: 8.031 kB / 492.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.3555, allocations: 4 kB / 492.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3556, allocations: 159.1 kB / 492.3 MB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3556, allocations: 11.98 kB / 492.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3556, allocations: 0 / 492.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3557, allocations: 41.59 kB / 492.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3558, allocations: 0 / 492.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3558, allocations: 0 / 492.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3558, allocations: 0 / 492.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.3558, allocations: 4 kB / 492.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3562, allocations: 481 kB / 492.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.3563, allocations: 173.1 kB / 493 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3564, allocations: 79.22 kB / 493.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.3564, allocations: 105.8 kB / 493.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.3564, allocations: 0 / 493.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.396e-05/0.3565, allocations: 29.7 kB / 493.2 MB, free: 6.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3566, allocations: 152.4 kB / 493.3 MB, free: 6.484 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.3567, allocations: 109 kB / 493.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3567, allocations: 25.7 kB / 493.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.3567, allocations: 87.98 kB / 493.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.3568, allocations: 4 kB / 493.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.3568, allocations: 0 / 493.6 MB, free: 6.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.3569, allocations: 318.8 kB / 493.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.3569, allocations: 3.938 kB / 493.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.3569, allocations: 4 kB / 493.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/0.3569, allocations: 4.094 kB / 493.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3569, allocations: 4 kB / 493.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001083/0.3571, allocations: 33.66 kB / 493.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3571, allocations: 8 kB / 493.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3571, allocations: 0 / 493.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3571, allocations: 3.984 kB / 493.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.351e-05/0.3572, allocations: 0 / 493.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3572, allocations: 4 kB / 493.9 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.3572, allocations: 0 / 493.9 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3572, allocations: 0 / 493.9 MB, free: 5.855 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 8.68e-05/0.3573, allocations: 193.2 kB / 494.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3574, allocations: 108.9 kB / 494.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3574, allocations: 108.5 kB / 494.3 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/0.3575, allocations: 187.3 kB / 494.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-05/0.3575, allocations: 176.3 kB / 494.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/0.3576, allocations: 188.3 kB / 494.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3578, allocations: 409.1 kB / 495.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/0.3578, allocations: 101 kB / 495.4 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.3579, allocations: 112.9 kB / 495.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.869e-05/0.3579, allocations: 180.3 kB / 495.7 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.358, allocations: 184.2 kB / 495.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-05/0.3581, allocations: 180.2 kB / 496 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.339e-05/0.3581, allocations: 176.3 kB / 496.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.3582, allocations: 319.6 kB / 496.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.3583, allocations: 178.1 kB / 496.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.3584, allocations: 184.5 kB / 496.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.3585, allocations: 116.9 kB / 497 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3585, allocations: 184.2 kB / 497.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3586, allocations: 101 kB / 497.2 MB, free: 2.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.3586, allocations: 87.28 kB / 497.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3586, allocations: 0 / 497.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.3589, allocations: 51.92 kB / 497.4 MB, free: 2.184 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.0004316/0.3594, allocations: 265 kB / 497.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.883e-05/0.3595, allocations: 7.938 kB / 497.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3595, allocations: 0 / 497.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.3595, allocations: 4.062 kB / 497.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3597, allocations: 0.5207 MB / 498.2 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001939/0.3599, allocations: 166 kB / 498.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3601, allocations: 0.677 MB / 499 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.349e-05/0.3602, allocations: 15.98 kB / 499 MB, free: 500 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.3603, allocations: 7.438 kB / 499 MB, free: 492 kB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3603, allocations: 0 / 499 MB, free: 492 kB / 362.7 MB Notification: Performance of Templates: time 0.003244/0.3635, allocations: 0.9284 MB / 500 MB, free: 15.56 MB / 378.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/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