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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009576/0.0009576, allocations: 195.7 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 226.5 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00078/0.00078, allocations: 104.2 kB / 296.7 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002098, allocations: 15.92 kB / 356.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1836, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004437/0.1841, allocations: 235.8 kB / 408.4 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1853, allocations: 1.388 MB / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.1853, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.1853, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.1854, allocations: 0 / 409.7 MB, free: 26.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1858, allocations: 142.7 kB / 409.9 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.1859, allocations: 19.92 kB / 409.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.1859, allocations: 4 kB / 409.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.1859, allocations: 7.938 kB / 409.9 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.974e-05/0.186, allocations: 17.03 kB / 409.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.186, allocations: 0 / 409.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1862, allocations: 104.9 kB / 410 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.1862, allocations: 9.703 kB / 410 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1862, allocations: 33.64 kB / 410.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1863, allocations: 79.83 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1863, allocations: 0 / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1863, allocations: 0 / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1864, allocations: 1.125 kB / 410.2 MB, free: 25.67 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.0002065/0.1866, allocations: 343.5 kB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1866, allocations: 15.31 kB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.277e-05/0.1866, allocations: 30.75 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1868, allocations: 0.9375 kB / 410.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.653e-05/0.1868, allocations: 172.4 kB / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1868, allocations: 384 / 410.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.1869, allocations: 7.922 kB / 410.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.1869, allocations: 33.64 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.187, allocations: 2.969 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.187, allocations: 4 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.187, allocations: 0 / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.187, allocations: 4 kB / 410.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.1873, allocations: 478.3 kB / 411.2 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.224e-05/0.1873, allocations: 171.4 kB / 411.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.1873, allocations: 80.14 kB / 411.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.1873, allocations: 75.28 kB / 411.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1874, allocations: 117.9 kB / 411.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1874, allocations: 0 / 411.7 MB, free: 23.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 6.473e-05/0.1875, allocations: 33.61 kB / 411.7 MB, free: 23.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1875, allocations: 156.4 kB / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.18e-05/0.1876, allocations: 105.9 kB / 411.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.143e-06/0.1876, allocations: 25.7 kB / 412 MB, free: 23.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.1876, allocations: 88.12 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.1876, allocations: 4 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.1876, allocations: 3.938 kB / 412.1 MB, free: 23.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.1877, allocations: 322.7 kB / 412.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.1877, allocations: 0 / 412.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.353e-05/0.1877, allocations: 4 kB / 412.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.007e-05/0.1877, allocations: 8.859 kB / 412.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1877, allocations: 0 / 412.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.978e-05/0.1878, allocations: 45.72 kB / 412.4 MB, free: 23.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1878, allocations: 8 kB / 412.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1878, allocations: 0 / 412.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1878, allocations: 0 / 412.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.1879, allocations: 0 / 412.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1879, allocations: 3.938 kB / 412.4 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.1879, allocations: 7.906 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.188, allocations: 0 / 412.5 MB, free: 23.12 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.841e-05/0.188, allocations: 189.1 kB / 412.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.188, allocations: 113 kB / 412.7 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.1881, allocations: 104.5 kB / 412.8 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.1881, allocations: 184.2 kB / 413 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.1881, allocations: 176.3 kB / 413.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.1882, allocations: 180.2 kB / 413.4 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1883, allocations: 413.2 kB / 413.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.1884, allocations: 105 kB / 413.9 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.1884, allocations: 104.9 kB / 414 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.1884, allocations: 180.3 kB / 414.2 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1884, allocations: 184.2 kB / 414.3 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.193e-05/0.1885, allocations: 176.3 kB / 414.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-05/0.1885, allocations: 188.2 kB / 414.7 MB, free: 20.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.65e-05/0.1886, allocations: 303.8 kB / 415 MB, free: 20.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1886, allocations: 190 kB / 415.2 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1886, allocations: 180.2 kB / 415.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.1887, allocations: 101 kB / 415.5 MB, free: 19.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.1888, allocations: 188.2 kB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1888, allocations: 101.2 kB / 415.7 MB, free: 19.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.413e-05/0.1888, allocations: 95.27 kB / 415.8 MB, free: 19.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1888, allocations: 0 / 415.8 MB, free: 19.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.1891, allocations: 43.94 kB / 415.9 MB, free: 19.46 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.0004393/0.1895, allocations: 0.8976 MB / 416.8 MB, free: 18.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.429e-05/0.1896, allocations: 4 kB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1896, allocations: 4.062 kB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1896, allocations: 0 / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1899, allocations: 0.5296 MB / 417.3 MB, free: 18.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.1902, allocations: 233.2 kB / 417.5 MB, free: 17.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.96e-05/0.1902, allocations: 0.6809 MB / 418.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.1903, allocations: 7.438 kB / 418.2 MB, free: 17.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1903, allocations: 0 / 418.2 MB, free: 17.03 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.077, allocations: 1.139 MB / 419.4 MB, free: 15.89 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > 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/jenkins1/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