Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008956/0.0008956, allocations: 196.2 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 226.6 MB / 244.3 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007958/0.0007961, allocations: 106.1 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001893/0.0001893, allocations: 8 kB / 356.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1663, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004224/0.1668, allocations: 224.6 kB / 407.7 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1679, allocations: 1.381 MB / 409.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1679, allocations: 0 / 409.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.186e-06/0.168, allocations: 5.625 kB / 409.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.862e-05/0.168, allocations: 0 / 409.1 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1684, allocations: 145 kB / 409.2 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.936e-05/0.1685, allocations: 8 kB / 409.2 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.919e-05/0.1685, allocations: 0 / 409.2 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.021e-05/0.1685, allocations: 16.64 kB / 409.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1686, allocations: 10.34 kB / 409.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1686, allocations: 0 / 409.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1687, allocations: 113.5 kB / 409.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-06/0.1687, allocations: 0 / 409.4 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.1688, allocations: 29.7 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1689, allocations: 83.81 kB / 409.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1689, allocations: 3.938 kB / 409.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1689, allocations: 0.5312 kB / 409.5 MB, free: 25.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.1689, allocations: 1.75 kB / 409.5 MB, free: 25.8 MB / 298.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.0001924/0.1691, allocations: 343.3 kB / 409.8 MB, free: 25.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.1691, allocations: 12.03 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1693, allocations: 0.6875 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.02e-05/0.1693, allocations: 167.1 kB / 410 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1693, allocations: 0.5312 kB / 410 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.1694, allocations: 0.8125 kB / 410 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.1694, allocations: 41.64 kB / 410.1 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1695, allocations: 7.344 kB / 410.1 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1695, allocations: 0 / 410.1 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1695, allocations: 0 / 410.1 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.79e-05/0.1695, allocations: 4 kB / 410.1 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1697, allocations: 481 kB / 410.5 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.565e-05/0.1698, allocations: 170.9 kB / 410.7 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.1698, allocations: 80.14 kB / 410.8 MB, free: 24.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1698, allocations: 82.41 kB / 410.9 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1698, allocations: 109.8 kB / 411 MB, free: 24.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1699, allocations: 0 / 411 MB, free: 24.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.277e-05/0.1699, allocations: 37.66 kB / 411 MB, free: 24.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1699, allocations: 152.4 kB / 411.2 MB, free: 23.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.17, allocations: 117.8 kB / 411.3 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.17, allocations: 25.7 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.1701, allocations: 85.12 kB / 411.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-06/0.1701, allocations: 0 / 411.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1701, allocations: 0 / 411.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.207e-05/0.1701, allocations: 310.8 kB / 411.7 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-06/0.1701, allocations: 4 kB / 411.7 MB, free: 23.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.1701, allocations: 4 kB / 411.7 MB, free: 23.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.818e-05/0.1702, allocations: 12.03 kB / 411.7 MB, free: 23.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1702, allocations: 0 / 411.7 MB, free: 23.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.724e-05/0.1702, allocations: 45.58 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.1703, allocations: 4 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1703, allocations: 0 / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.1703, allocations: 4 kB / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/0.1703, allocations: 0 / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1703, allocations: 0 / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.1704, allocations: 0 / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1704, allocations: 4 kB / 411.8 MB, free: 23.31 MB / 298.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 4.604e-05/0.1704, allocations: 189.1 kB / 411.9 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.1705, allocations: 116.8 kB / 412.1 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.922e-05/0.1705, allocations: 108.5 kB / 412.2 MB, free: 22.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.1705, allocations: 176.3 kB / 412.3 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/0.1705, allocations: 184.2 kB / 412.5 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.1706, allocations: 188.2 kB / 412.7 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1707, allocations: 405.2 kB / 413.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.1707, allocations: 104.9 kB / 413.2 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.1707, allocations: 101 kB / 413.3 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.1707, allocations: 184.2 kB / 413.5 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.1708, allocations: 184.3 kB / 413.7 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/0.1708, allocations: 184.2 kB / 413.8 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/0.1708, allocations: 180.2 kB / 414 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.963e-05/0.1709, allocations: 303.8 kB / 414.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.1709, allocations: 190.1 kB / 414.5 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1709, allocations: 184.2 kB / 414.7 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.171, allocations: 105.2 kB / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.171, allocations: 176.3 kB / 414.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.171, allocations: 112.9 kB / 415.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.1711, allocations: 87.27 kB / 415.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 415.1 MB, free: 19.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.1713, allocations: 40 kB / 415.2 MB, free: 19.65 MB / 298.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.0002628/0.1716, allocations: 263.5 kB / 415.4 MB, free: 19.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.119e-05/0.1717, allocations: 8 kB / 415.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1717, allocations: 0 / 415.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.1717, allocations: 4.047 kB / 415.4 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1719, allocations: 0.5185 MB / 416 MB, free: 18.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001272/0.172, allocations: 183.7 kB / 416.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.1721, allocations: 0.677 MB / 416.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.1721, allocations: 15.44 kB / 416.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1722, allocations: 0 / 416.8 MB, free: 17.93 MB / 298.7 MB Notification: Performance of Templates: time 0.001749/0.1739, allocations: 1.007 MB / 417.8 MB, free: 16.93 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches