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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 58.72 kB / 306.9 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08843, allocations: 50.52 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001517/0.08998, allocations: 0.5026 MB / 358 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.09154, allocations: 1.441 MB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.09158, allocations: 4 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.0916, allocations: 0 / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.09163, allocations: 0 / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.09221, allocations: 186.9 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.198e-05/0.09227, allocations: 11.98 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.09231, allocations: 0 / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.09236, allocations: 27.86 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.09241, allocations: 4 kB / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.09243, allocations: 0 / 359.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.09262, allocations: 127.8 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.09264, allocations: 0 / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.09266, allocations: 7.922 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.09287, allocations: 127.8 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.09289, allocations: 3.938 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09289, allocations: 0 / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.0929, allocations: 0 / 359.9 MB, free: 11.66 MB / 302.1 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.0003191/0.09322, allocations: 351.7 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.09326, allocations: 8.031 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.09339, allocations: 8.922 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.09351, allocations: 172.3 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.09353, allocations: 384 / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.09354, allocations: 4.125 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.09363, allocations: 33.69 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.09364, allocations: 0 / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.09366, allocations: 0 / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.09367, allocations: 4 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.09369, allocations: 7.938 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.09407, allocations: 469 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.028e-05/0.09415, allocations: 173.1 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.09418, allocations: 80.14 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.09421, allocations: 79.28 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.09426, allocations: 113.7 kB / 361.4 MB, free: 10 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.09427, allocations: 0 / 361.4 MB, free: 10 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.617e-05/0.09434, allocations: 29.7 kB / 361.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.09441, allocations: 152.4 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.09451, allocations: 109.8 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.09453, allocations: 29.7 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.09459, allocations: 88.05 kB / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.09459, allocations: 0 / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.09463, allocations: 21.7 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.475e-05/0.09473, allocations: 314.8 kB / 362.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.09475, allocations: 4 kB / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.09477, allocations: 4 kB / 362.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.0948, allocations: 8.797 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.09481, allocations: 4.094 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.994e-05/0.09492, allocations: 41.69 kB / 362.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.09494, allocations: 6.969 kB / 362.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.09495, allocations: 4 kB / 362.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.09497, allocations: 0 / 362.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.09501, allocations: 0 / 362.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.09502, allocations: 0 / 362.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.09506, allocations: 4 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.09508, allocations: 256 / 362.2 MB, free: 9.129 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.672e-05/0.09517, allocations: 193 kB / 362.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.09525, allocations: 112.9 kB / 362.5 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.925e-05/0.0953, allocations: 108.5 kB / 362.6 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.832e-05/0.09536, allocations: 184.2 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-05/0.09542, allocations: 184.3 kB / 362.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-05/0.09548, allocations: 176.3 kB / 363.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.0957, allocations: 417.1 kB / 363.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/0.09573, allocations: 105.1 kB / 363.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.09577, allocations: 108.9 kB / 363.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-05/0.09583, allocations: 176.3 kB / 363.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.09589, allocations: 184.3 kB / 364.1 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.786e-05/0.09596, allocations: 184.2 kB / 364.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.786e-05/0.09602, allocations: 184.2 kB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.09614, allocations: 303.7 kB / 364.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.09623, allocations: 189.9 kB / 364.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.09631, allocations: 192.2 kB / 365.1 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.0964, allocations: 101 kB / 365.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.09648, allocations: 188.2 kB / 365.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.09651, allocations: 101 kB / 365.5 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.286e-05/0.09657, allocations: 87.27 kB / 365.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09657, allocations: 0 / 365.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.09685, allocations: 40 kB / 365.6 MB, free: 5.457 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.0972, allocations: 261.6 kB / 365.9 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.478e-05/0.09727, allocations: 4 kB / 365.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09728, allocations: 3.938 kB / 365.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.09729, allocations: 0 / 365.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.09764, allocations: 463.8 kB / 366.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.09781, allocations: 164.2 kB / 366.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.09803, allocations: 0.6729 MB / 367.2 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.198e-05/0.09811, allocations: 19.95 kB / 367.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.09814, allocations: 11.44 kB / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09814, allocations: 0 / 367.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of Templates: time 0.002889/0.101, allocations: 0.9592 MB / 368.1 MB, free: 2.871 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches