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.001308/0.001308, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001221/0.001221, allocations: 200 kB / 18.01 MB, free: 5.047 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2348, allocations: 49.45 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001418/0.2363, allocations: 0.5023 MB / 400.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2381, allocations: 1.377 MB / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.2381, allocations: 0 / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2382, allocations: 0 / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.282e-05/0.2382, allocations: 7.938 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.2388, allocations: 174.4 kB / 402.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.2388, allocations: 19.92 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.2389, allocations: 19.91 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.2389, allocations: 4 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.239, allocations: 15.92 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.239, allocations: 0 / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.2393, allocations: 165.5 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2393, allocations: 4 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.2393, allocations: 15.91 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2396, allocations: 114.7 kB / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2396, allocations: 0 / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2396, allocations: 0 / 402.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2396, allocations: 0 / 402.6 MB, free: 6.406 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.0003672/0.24, allocations: 347.3 kB / 403 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.24, allocations: 12.03 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.2401, allocations: 34.73 kB / 403 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2401, allocations: 8.891 kB / 403 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2402, allocations: 164.4 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2402, allocations: 4.312 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2403, allocations: 3.938 kB / 403.2 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.2404, allocations: 33.69 kB / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2404, allocations: 0 / 403.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2404, allocations: 4 kB / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2404, allocations: 0 / 403.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.2404, allocations: 4 kB / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.2409, allocations: 473 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.241, allocations: 169.1 kB / 403.9 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.241, allocations: 84.14 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.2411, allocations: 79.28 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/0.2411, allocations: 109.8 kB / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2411, allocations: 0 / 404.1 MB, free: 4.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.09e-05/0.2412, allocations: 25.7 kB / 404.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.93e-05/0.2413, allocations: 164.3 kB / 404.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.2414, allocations: 105.8 kB / 404.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2414, allocations: 25.7 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.2415, allocations: 92.09 kB / 404.5 MB, free: 4.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.2415, allocations: 4 kB / 404.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.2416, allocations: 13.72 kB / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2417, allocations: 318.8 kB / 404.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.2417, allocations: 3.938 kB / 404.9 MB, free: 3.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.2418, allocations: 4 kB / 404.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.2418, allocations: 12.86 kB / 404.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2418, allocations: 4.094 kB / 404.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.2419, allocations: 33.7 kB / 404.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2419, allocations: 15.86 kB / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2419, allocations: 0 / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.242, allocations: 0 / 404.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.242, allocations: 4 kB / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.242, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.242, allocations: 0 / 404.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2421, allocations: 0 / 404.9 MB, free: 3.836 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 0.0001191/0.2422, allocations: 193.1 kB / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.2423, allocations: 108.9 kB / 405.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.2423, allocations: 116.4 kB / 405.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-05/0.2424, allocations: 180.3 kB / 405.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.1e-05/0.2425, allocations: 176.5 kB / 405.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.2426, allocations: 180.2 kB / 405.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.2429, allocations: 417.2 kB / 406.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.154e-05/0.2429, allocations: 104.9 kB / 406.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.243, allocations: 109 kB / 406.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-05/0.2431, allocations: 176.3 kB / 406.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/0.2431, allocations: 184.2 kB / 406.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.137e-05/0.2432, allocations: 180.3 kB / 407 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.307e-05/0.2433, allocations: 184.4 kB / 407.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2435, allocations: 311.8 kB / 407.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.2436, allocations: 182 kB / 407.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.2437, allocations: 176.3 kB / 407.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.2438, allocations: 116.9 kB / 408 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.2439, allocations: 176.3 kB / 408.1 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.2439, allocations: 105 kB / 408.2 MB, free: 312 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.244, allocations: 91.22 kB / 408.3 MB, free: 220 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.244, allocations: 0 / 408.3 MB, free: 220 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2443, allocations: 51.8 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.0007549/0.245, allocations: 0.8803 MB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.172e-05/0.2451, allocations: 8 kB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2451, allocations: 0 / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.2451, allocations: 3.938 kB / 409.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2455, allocations: 459.7 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.0003671/0.2459, allocations: 209.8 kB / 409.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2462, allocations: 0.6806 MB / 410.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.2463, allocations: 11.97 kB / 410.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.2464, allocations: 19.42 kB / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2464, allocations: 0 / 410.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.2694, allocations: 1.807 MB / 412.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.785, allocations: 4.688 kB / 412.5 MB, free: 12.14 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