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.001346/0.001347, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007772, allocations: 95.77 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 4 kB / 358.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09501/0.3674, allocations: 76.94 MB / 486.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.3677, allocations: 70.31 kB / 486.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.3831, allocations: 5.28 MB / 491.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3832, allocations: 0 / 491.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3832, allocations: 0 / 491.6 MB, free: 9.281 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.0003942/0.3836, allocations: 355.4 kB / 492 MB, free: 8.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3837, allocations: 8.031 kB / 492 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3838, allocations: 8.922 kB / 492 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.384, allocations: 172.3 kB / 492.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.384, allocations: 384 / 492.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.384, allocations: 384 / 492.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.3841, allocations: 38.25 kB / 492.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3841, allocations: 192 / 492.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3841, allocations: 3.938 kB / 492.2 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3841, allocations: 4 kB / 492.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.3842, allocations: 0 / 492.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3846, allocations: 473.1 kB / 492.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.3847, allocations: 177 kB / 492.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.3848, allocations: 88.06 kB / 492.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.3848, allocations: 79.28 kB / 493 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.3849, allocations: 105.8 kB / 493.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.3849, allocations: 0 / 493.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.914e-05/0.3849, allocations: 33.55 kB / 493.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.385, allocations: 164.4 kB / 493.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.3851, allocations: 105.8 kB / 493.4 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3851, allocations: 25.7 kB / 493.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3852, allocations: 88.08 kB / 493.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3852, allocations: 0 / 493.5 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3852, allocations: 4 kB / 493.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.3853, allocations: 310.8 kB / 493.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.3853, allocations: 0 / 493.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.3854, allocations: 11.98 kB / 493.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.3854, allocations: 4.859 kB / 493.9 MB, free: 6.824 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3854, allocations: 4 kB / 493.9 MB, free: 6.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.3855, allocations: 41.58 kB / 493.9 MB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3856, allocations: 8 kB / 493.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3856, allocations: 0 / 493.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3856, allocations: 0 / 493.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.3856, allocations: 0 / 493.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3856, allocations: 4 kB / 493.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.3857, allocations: 4.125 kB / 493.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3857, allocations: 3.984 kB / 493.9 MB, free: 6.754 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 9.7e-05/0.3858, allocations: 189.1 kB / 494.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3859, allocations: 104.9 kB / 494.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.3859, allocations: 116.5 kB / 494.3 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.386, allocations: 183.3 kB / 494.5 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-05/0.3861, allocations: 188.2 kB / 494.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.3861, allocations: 176.3 kB / 494.9 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3864, allocations: 409.2 kB / 495.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/0.3864, allocations: 104.9 kB / 495.4 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.078e-05/0.3864, allocations: 108.9 kB / 495.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.3865, allocations: 184.2 kB / 495.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.3866, allocations: 180.2 kB / 495.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/0.3866, allocations: 176.3 kB / 496 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.448e-05/0.3867, allocations: 192.1 kB / 496.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3868, allocations: 308 kB / 496.5 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.3869, allocations: 186.1 kB / 496.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.387, allocations: 180.3 kB / 496.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3871, allocations: 108.9 kB / 496.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.3872, allocations: 180.2 kB / 497.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.3872, allocations: 104.9 kB / 497.2 MB, free: 3.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.739e-05/0.3873, allocations: 87.28 kB / 497.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3873, allocations: 4 kB / 497.3 MB, free: 3.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000342/0.3876, allocations: 55.92 kB / 497.4 MB, free: 3.078 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.000472/0.3881, allocations: 258 kB / 497.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.3882, allocations: 8 kB / 497.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3882, allocations: 0 / 497.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.3882, allocations: 0 / 497.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.3886, allocations: 0.5302 MB / 498.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.3888, allocations: 162 kB / 498.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.389, allocations: 0.677 MB / 499 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.3891, allocations: 11.98 kB / 499 MB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.3892, allocations: 7.438 kB / 499 MB, free: 1.379 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3892, allocations: 3.938 kB / 499 MB, free: 1.375 MB / 362.7 MB Notification: Performance of Templates: time 0.003432/0.3926, allocations: 0.935 MB / 500 MB, free: 452 kB / 362.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/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches