Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 106.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 51.92 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2323, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001407/0.2338, allocations: 0.5034 MB / 400.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2353, allocations: 1.378 MB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.2354, allocations: 0 / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.2354, allocations: 0 / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.899e-05/0.2354, allocations: 3.938 kB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.236, allocations: 189.3 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.236, allocations: 8 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.2361, allocations: 7.922 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.2361, allocations: 11.98 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.2362, allocations: 11.94 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.2362, allocations: 4 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.2364, allocations: 163.8 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2365, allocations: 4 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.2365, allocations: 3.938 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2367, allocations: 123.8 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2367, allocations: 0 / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2367, allocations: 0 / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.2367, allocations: 0 / 402.6 MB, free: 6.402 MB / 318.1 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.0002996/0.237, allocations: 345.2 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.237, allocations: 12.03 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.2371, allocations: 34.75 kB / 403 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.2371, allocations: 0.9375 kB / 403 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2372, allocations: 172.3 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2372, allocations: 384 / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.2372, allocations: 3.938 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.2373, allocations: 37.64 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2373, allocations: 0 / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2373, allocations: 0 / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.2374, allocations: 0 / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.2374, allocations: 4 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.2378, allocations: 485 kB / 403.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.2378, allocations: 165.1 kB / 403.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.2379, allocations: 88.08 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2379, allocations: 75.28 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/0.238, allocations: 113.8 kB / 404.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 2.024e-06/0.238, allocations: 3.984 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 6.409e-05/0.238, allocations: 33.61 kB / 404.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.2381, allocations: 156.4 kB / 404.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.2382, allocations: 105.9 kB / 404.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2382, allocations: 29.7 kB / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.2383, allocations: 84.12 kB / 404.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-06/0.2383, allocations: 4 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.2383, allocations: 13.72 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.2384, allocations: 318.8 kB / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.2384, allocations: 11.88 kB / 404.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.908e-05/0.2385, allocations: 7.984 kB / 404.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.2385, allocations: 4.859 kB / 404.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2385, allocations: 0 / 404.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.828e-05/0.2386, allocations: 37.8 kB / 404.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2386, allocations: 4 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2386, allocations: 0 / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.2386, allocations: 4 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.2387, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2387, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.2387, allocations: 4 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2388, allocations: 7.984 kB / 404.9 MB, free: 3.824 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.2388, allocations: 193 kB / 405.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.2389, allocations: 108.9 kB / 405.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.239, allocations: 104.5 kB / 405.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-05/0.239, allocations: 188.2 kB / 405.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.785e-05/0.2391, allocations: 184.3 kB / 405.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.713e-05/0.2391, allocations: 180.2 kB / 405.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.2393, allocations: 413.2 kB / 406.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.2394, allocations: 101 kB / 406.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.2394, allocations: 104.9 kB / 406.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.523e-05/0.2395, allocations: 176.3 kB / 406.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.2395, allocations: 188.2 kB / 406.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-05/0.2396, allocations: 176.3 kB / 407 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.771e-05/0.2397, allocations: 180.5 kB / 407.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.2398, allocations: 311.7 kB / 407.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.2399, allocations: 190 kB / 407.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.2399, allocations: 176.5 kB / 407.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.24, allocations: 113 kB / 408 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2401, allocations: 184.2 kB / 408.1 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.2401, allocations: 109 kB / 408.2 MB, free: 296 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.27e-05/0.2402, allocations: 83.28 kB / 408.3 MB, free: 212 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2402, allocations: 3.938 kB / 408.3 MB, free: 208 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2405, allocations: 39.94 kB / 408.4 MB, free: 168 kB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005825/0.241, allocations: 0.8756 MB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.447e-05/0.2411, allocations: 8 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2411, allocations: 4.062 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.2411, allocations: 0 / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2415, allocations: 459.6 kB / 409.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2418, allocations: 213.9 kB / 409.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.242, allocations: 0.6766 MB / 410.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.2421, allocations: 19.97 kB / 410.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2421, allocations: 7.438 kB / 410.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2421, allocations: 3.938 kB / 410.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.259, allocations: 1.82 MB / 412.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.597, allocations: 4.609 kB / 412.4 MB, free: 12.12 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches