Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001019/0.001023, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.722/1.722, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.000934/0.0009339, allocations: 88.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4474, allocations: 76.55 MB / 452.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4477, allocations: 71.91 kB / 452.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.4628, allocations: 5.262 MB / 457.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4629, allocations: 0 / 457.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4629, allocations: 0 / 457.7 MB, free: 14.8 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.0003759/0.4633, allocations: 375.1 kB / 458 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4633, allocations: 12.03 kB / 458.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.4634, allocations: 0 / 458.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.4636, allocations: 167.1 kB / 458.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4636, allocations: 0 / 458.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4636, allocations: 3.953 kB / 458.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.4637, allocations: 41.62 kB / 458.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4637, allocations: 0 / 458.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4638, allocations: 7.922 kB / 458.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4638, allocations: 4 kB / 458.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.4638, allocations: 4 kB / 458.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.4642, allocations: 400 kB / 458.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.4643, allocations: 165.1 kB / 458.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.4643, allocations: 79.22 kB / 458.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.4644, allocations: 109.8 kB / 459 MB, free: 13.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4644, allocations: 4 kB / 459 MB, free: 13.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.197e-05/0.4645, allocations: 29.61 kB / 459.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.4646, allocations: 152.4 kB / 459.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4647, allocations: 109 kB / 459.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4647, allocations: 25.7 kB / 459.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.4648, allocations: 92.12 kB / 459.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.4648, allocations: 4 kB / 459.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.4648, allocations: 0 / 459.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.465, allocations: 310.8 kB / 459.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.465, allocations: 4 kB / 459.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.465, allocations: 11.94 kB / 459.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.258e-05/0.465, allocations: 3.984 kB / 459.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.465, allocations: 0 / 459.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001216/0.4652, allocations: 45.56 kB / 459.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4652, allocations: 8.125 kB / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4652, allocations: 4 kB / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4652, allocations: 0 / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-05/0.4653, allocations: 3.938 kB / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.4653, allocations: 0 / 459.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.4653, allocations: 4 kB / 459.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4653, allocations: 3.984 kB / 459.8 MB, free: 12.44 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.0001152/0.4655, allocations: 181.1 kB / 460 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.4655, allocations: 117.3 kB / 460.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.4656, allocations: 108.3 kB / 460.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/0.4657, allocations: 196.2 kB / 460.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-05/0.4658, allocations: 180.3 kB / 460.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/0.4659, allocations: 176.3 kB / 460.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.4661, allocations: 409.2 kB / 461.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.4661, allocations: 105 kB / 461.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.4662, allocations: 108.9 kB / 461.4 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-05/0.4663, allocations: 184.2 kB / 461.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.4663, allocations: 176.3 kB / 461.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.671e-05/0.4664, allocations: 180.2 kB / 461.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-05/0.4665, allocations: 188.3 kB / 462.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4666, allocations: 303.8 kB / 462.4 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.4667, allocations: 189.9 kB / 462.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.4668, allocations: 184.2 kB / 462.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.4669, allocations: 109 kB / 462.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.467, allocations: 184.2 kB / 463 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.467, allocations: 101 kB / 463.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.4671, allocations: 103.3 kB / 463.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4671, allocations: 0 / 463.2 MB, free: 8.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.4674, allocations: 43.94 kB / 463.3 MB, free: 8.766 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.0005448/0.4679, allocations: 269.2 kB / 463.5 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.68e-05/0.468, allocations: 11.94 kB / 463.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.468, allocations: 0 / 463.5 MB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.468, allocations: 4 kB / 463.5 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4684, allocations: 0.5186 MB / 464.1 MB, free: 7.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.4686, allocations: 178.4 kB / 464.2 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4689, allocations: 0.6809 MB / 464.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.4689, allocations: 8 kB / 464.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.4689, allocations: 11.42 kB / 464.9 MB, free: 7.039 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4689, allocations: 0 / 464.9 MB, free: 7.039 MB / 346.7 MB Notification: Performance of Templates: time 0.003439/0.4724, allocations: 1.055 MB / 466 MB, free: 5.992 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches