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.001286/0.001286, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 98.56 kB / 286.7 MB, free: 5.223 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.725e-05, allocations: 4 kB / 343.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 51.47 MB / 395.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6386, allocations: 76.27 MB / 471.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/0.6391, allocations: 70.19 kB / 471.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.6546, allocations: 5.255 MB / 476.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6547, allocations: 4 kB / 476.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.6547, allocations: 4 kB / 476.8 MB, free: 12.03 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.0003675/0.6551, allocations: 347.9 kB / 477.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6552, allocations: 12.03 kB / 477.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.6553, allocations: 1.547 kB / 477.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6555, allocations: 165.9 kB / 477.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6555, allocations: 0.8594 kB / 477.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6555, allocations: 0 / 477.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.44e-05/0.6556, allocations: 12.48 kB / 477.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.6557, allocations: 42.62 kB / 477.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6557, allocations: 0 / 477.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6557, allocations: 0 / 477.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6557, allocations: 1.969 kB / 477.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.6561, allocations: 447.3 kB / 477.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.6562, allocations: 173.1 kB / 477.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.6562, allocations: 84.08 kB / 478 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.6563, allocations: 76.69 kB / 478.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.6563, allocations: 105.8 kB / 478.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.6563, allocations: 0 / 478.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.346e-05/0.6564, allocations: 32.83 kB / 478.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.6564, allocations: 78.52 kB / 478.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.6565, allocations: 106 kB / 478.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.6566, allocations: 25.7 kB / 478.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.6566, allocations: 87.98 kB / 478.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.6566, allocations: 4 kB / 478.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.6566, allocations: 0 / 478.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.6567, allocations: 312.4 kB / 478.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.6567, allocations: 0 / 478.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.6568, allocations: 9.344 kB / 478.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.6568, allocations: 9.453 kB / 478.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6568, allocations: 0 / 478.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.657, allocations: 40.89 kB / 478.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.657, allocations: 7.953 kB / 478.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.657, allocations: 0.75 kB / 478.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.657, allocations: 4 kB / 478.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.6571, allocations: 0 / 478.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.6571, allocations: 0 / 478.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.6571, allocations: 1.453 kB / 478.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.6572, allocations: 4 kB / 478.9 MB, free: 9.723 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 () * 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.866e-05/0.6573, allocations: 180.3 kB / 479.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.6573, allocations: 110.5 kB / 479.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.6574, allocations: 113.1 kB / 479.3 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.6574, allocations: 176.3 kB / 479.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.253e-05/0.6574, allocations: 181.9 kB / 479.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.99e-05/0.6575, allocations: 196.2 kB / 479.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.6576, allocations: 376.8 kB / 480.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/0.6577, allocations: 113.4 kB / 480.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.6577, allocations: 101 kB / 480.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.548e-05/0.6578, allocations: 177.7 kB / 480.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.6578, allocations: 184 kB / 480.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.698e-05/0.6578, allocations: 185.9 kB / 481 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.873e-05/0.6579, allocations: 180.2 kB / 481.1 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.744e-05/0.658, allocations: 301.2 kB / 481.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.6581, allocations: 188.2 kB / 481.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.6581, allocations: 184.2 kB / 481.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.6582, allocations: 106.3 kB / 481.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.6583, allocations: 180.2 kB / 482.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.6583, allocations: 111.4 kB / 482.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.6583, allocations: 86.97 kB / 482.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6583, allocations: 0 / 482.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.6586, allocations: 50.58 kB / 482.3 MB, free: 6.156 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 () * 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.0004774/0.6591, allocations: 264.5 kB / 482.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.6592, allocations: 4 kB / 482.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6592, allocations: 4.062 kB / 482.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.6592, allocations: 0 / 482.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.6597, allocations: 0.5212 MB / 483.1 MB, free: 21.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.6599, allocations: 131.4 kB / 483.2 MB, free: 21.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.6602, allocations: 0.6775 MB / 483.9 MB, free: 20.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.6603, allocations: 12.97 kB / 483.9 MB, free: 20.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.6604, allocations: 13.41 kB / 483.9 MB, free: 20.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6604, allocations: 0 / 483.9 MB, free: 20.52 MB / 362.7 MB Notification: Performance of Templates: time 0.00344/0.6638, allocations: 0.8932 MB / 484.8 MB, free: 20.02 MB / 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/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