Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.128/1.128, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006954/0.0006954, allocations: 94.34 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 12 kB / 327.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 47.58 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001533/0.1767, allocations: 1.903 MB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.1775, allocations: 0.7207 MB / 377.8 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.1775, allocations: 0 / 377.8 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.937e-05/0.1776, allocations: 7.547 kB / 377.8 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.7e-05/0.1777, allocations: 4.906 kB / 377.8 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1781, allocations: 165.6 kB / 378 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.1782, allocations: 21.33 kB / 378 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.659e-05/0.1782, allocations: 6.203 kB / 378 MB, free: 43.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.1782, allocations: 8.344 kB / 378 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.1783, allocations: 9.359 kB / 378 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.1783, allocations: 1.531 kB / 378 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1785, allocations: 129.1 kB / 378.1 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.1785, allocations: 9.219 kB / 378.2 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.1785, allocations: 36.55 kB / 378.2 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1787, allocations: 78.7 kB / 378.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1787, allocations: 1.156 kB / 378.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1787, allocations: 4 kB / 378.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.1787, allocations: 0 / 378.3 MB, free: 43.06 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.0002009/0.1789, allocations: 348.9 kB / 378.6 MB, free: 42.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1789, allocations: 9.5 kB / 378.6 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.101e-05/0.1789, allocations: 34.73 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.179, allocations: 2.344 kB / 378.7 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.237e-05/0.179, allocations: 176.3 kB / 378.8 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-06/0.1791, allocations: 384 / 378.8 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1791, allocations: 1.594 kB / 378.8 MB, free: 42.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.359e-05/0.1791, allocations: 41.97 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1792, allocations: 3.938 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1792, allocations: 1 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1792, allocations: 0 / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.667e-05/0.1792, allocations: 7.406 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.1794, allocations: 394.7 kB / 379.3 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.967e-05/0.1794, allocations: 174 kB / 379.4 MB, free: 41.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.1795, allocations: 81.11 kB / 379.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.1795, allocations: 79.22 kB / 379.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1795, allocations: 107.1 kB / 379.7 MB, free: 41.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1795, allocations: 0 / 379.7 MB, free: 41.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.144e-05/0.1796, allocations: 28.11 kB / 379.7 MB, free: 41.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1796, allocations: 157.5 kB / 379.9 MB, free: 41.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.241e-05/0.1797, allocations: 114.5 kB / 380 MB, free: 41.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.1797, allocations: 26.55 kB / 380 MB, free: 41.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.1797, allocations: 98.25 kB / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1797, allocations: 0 / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.1797, allocations: 0 / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.085e-05/0.1798, allocations: 315.8 kB / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1798, allocations: 6.188 kB / 380.4 MB, free: 40.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.1798, allocations: 11.25 kB / 380.4 MB, free: 40.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.779e-05/0.1798, allocations: 11.81 kB / 380.5 MB, free: 40.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1798, allocations: 0 / 380.5 MB, free: 40.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.262e-05/0.1799, allocations: 38.36 kB / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.1799, allocations: 4.312 kB / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1799, allocations: 0.875 kB / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1799, allocations: 0 / 380.5 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.18, allocations: 10.12 kB / 380.5 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.18, allocations: 0.875 kB / 380.5 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.18, allocations: 4.125 kB / 380.5 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1801, allocations: 6.297 kB / 380.5 MB, free: 40.68 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.535e-05/0.1801, allocations: 191.1 kB / 380.7 MB, free: 40.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1801, allocations: 103.5 kB / 380.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.1802, allocations: 113.2 kB / 380.9 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.1802, allocations: 185.5 kB / 381.1 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/0.1802, allocations: 181.2 kB / 381.3 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.1802, allocations: 181.2 kB / 381.5 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1803, allocations: 408.5 kB / 381.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.1804, allocations: 102.1 kB / 382 MB, free: 39.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.1804, allocations: 109.8 kB / 382.1 MB, free: 39.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-05/0.1804, allocations: 186 kB / 382.2 MB, free: 38.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1804, allocations: 188.2 kB / 382.4 MB, free: 38.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.1805, allocations: 177.3 kB / 382.6 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.678e-05/0.1805, allocations: 177.6 kB / 382.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.276e-05/0.1805, allocations: 320.5 kB / 383.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.1806, allocations: 187.4 kB / 383.3 MB, free: 37.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1806, allocations: 177.4 kB / 383.4 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.1807, allocations: 106.3 kB / 383.5 MB, free: 37.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.1807, allocations: 181.7 kB / 383.7 MB, free: 37.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1807, allocations: 101.9 kB / 383.8 MB, free: 37.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.301e-05/0.1808, allocations: 95.98 kB / 383.9 MB, free: 37.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1808, allocations: 4 kB / 383.9 MB, free: 37.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.181, allocations: 41.72 kB / 384 MB, free: 37.08 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.000454/0.1815, allocations: 0.8908 MB / 384.9 MB, free: 36.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.164e-05/0.1816, allocations: 8 kB / 384.9 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1816, allocations: 0 / 384.9 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1816, allocations: 0 / 384.9 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.1818, allocations: 0.5289 MB / 385.4 MB, free: 35.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.1822, allocations: 472 kB / 385.8 MB, free: 35.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/0.1823, allocations: 0.6814 MB / 386.5 MB, free: 34.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.1823, allocations: 12.94 kB / 386.5 MB, free: 34.53 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1823, allocations: 1 kB / 386.5 MB, free: 34.53 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.427/2.61, allocations: 1.268 MB / 387.8 MB, free: 33.89 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches