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.001279/0.001279, allocations: 109 kB / 16.62 MB, free: 6.809 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.001473/0.001473, allocations: 185.8 kB / 17.55 MB, free: 5.949 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.294/1.294, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 43.92 kB / 300.2 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09259, allocations: 49.44 MB / 349.7 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001758/0.0944, allocations: 0.5674 MB / 350.2 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.09643, allocations: 1.387 MB / 351.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.09647, allocations: 0 / 351.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.09651, allocations: 0 / 351.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.075e-05/0.09655, allocations: 0 / 351.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.09718, allocations: 157.7 kB / 351.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.09723, allocations: 15.98 kB / 351.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.5e-05/0.09727, allocations: 3.984 kB / 351.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.09731, allocations: 4 kB / 351.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.09737, allocations: 19.92 kB / 351.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.09739, allocations: 0 / 351.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.09758, allocations: 119.8 kB / 351.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.0976, allocations: 7.984 kB / 352 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.09764, allocations: 7.938 kB / 352 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.09783, allocations: 115.8 kB / 352.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09785, allocations: 0 / 352.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09786, allocations: 11.88 kB / 352.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.09787, allocations: 0 / 352.1 MB, free: 2.031 MB / 286.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.00033/0.0982, allocations: 351.7 kB / 352.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.09825, allocations: 8.031 kB / 352.4 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.09828, allocations: 30.75 kB / 352.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.09832, allocations: 4.938 kB / 352.5 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.09843, allocations: 164.3 kB / 352.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.09844, allocations: 384 / 352.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.09846, allocations: 3.938 kB / 352.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.09855, allocations: 37.69 kB / 352.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.09856, allocations: 0 / 352.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.09858, allocations: 0 / 352.7 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.09858, allocations: 4 kB / 352.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.09861, allocations: 7.938 kB / 352.7 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.09902, allocations: 481 kB / 353.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.0991, allocations: 169.1 kB / 353.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.09914, allocations: 80.14 kB / 353.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.09917, allocations: 83.27 kB / 353.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.09922, allocations: 105.8 kB / 353.6 MB, free: 348 kB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.09922, allocations: 0 / 353.6 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.674e-05/0.0993, allocations: 29.64 kB / 353.6 MB, free: 312 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.09937, allocations: 164.4 kB / 353.8 MB, free: 128 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.09947, allocations: 105.8 kB / 353.9 MB, free: 12 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.09951, allocations: 25.7 kB / 353.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.09956, allocations: 88.05 kB / 354 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.09957, allocations: 7.984 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.09962, allocations: 17.7 kB / 354 MB, free: 15.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.09972, allocations: 314.8 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.09973, allocations: 3.938 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.09976, allocations: 8 kB / 354.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.09979, allocations: 16.84 kB / 354.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.0998, allocations: 3.938 kB / 354.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.0999, allocations: 33.7 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.09992, allocations: 4 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.09993, allocations: 0 / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.09995, allocations: 0 / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.1, allocations: 4 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1, allocations: 4.125 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.1001, allocations: 0 / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1001, allocations: 0 / 354.4 MB, free: 15.46 MB / 302.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 9.136e-05/0.1002, allocations: 193 kB / 354.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1002, allocations: 108.9 kB / 354.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.1003, allocations: 112.5 kB / 354.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/0.1003, allocations: 176.3 kB / 355 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-05/0.1004, allocations: 188.2 kB / 355.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/0.1005, allocations: 176.3 kB / 355.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.1007, allocations: 413.1 kB / 355.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/0.1007, allocations: 101 kB / 355.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1007, allocations: 105 kB / 355.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.722e-05/0.1008, allocations: 184.2 kB / 356.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/0.1009, allocations: 184.3 kB / 356.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/0.1009, allocations: 184.2 kB / 356.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-05/0.101, allocations: 180.5 kB / 356.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.1011, allocations: 311.7 kB / 357 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1012, allocations: 186 kB / 357.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.1013, allocations: 184.2 kB / 357.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.1014, allocations: 105 kB / 357.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1014, allocations: 176.3 kB / 357.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.1015, allocations: 104.9 kB / 357.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.1015, allocations: 95.27 kB / 357.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1015, allocations: 0 / 357.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1018, allocations: 43.94 kB / 357.8 MB, free: 11.79 MB / 302.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.0006006/0.1024, allocations: 0.8804 MB / 358.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.525e-05/0.1025, allocations: 8.281 kB / 358.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1025, allocations: 0 / 358.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.1025, allocations: 0 / 358.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1029, allocations: 463.7 kB / 359.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.1032, allocations: 206 kB / 359.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1034, allocations: 0.6768 MB / 360 MB, free: 9.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.511e-05/0.1035, allocations: 11.97 kB / 360.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.1036, allocations: 11.44 kB / 360.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1036, allocations: 4 kB / 360.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1153, allocations: 1.702 MB / 361.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1155, allocations: 264.1 kB / 362 MB, free: 7.598 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.852, allocations: 0 / 362 MB, free: 7.598 MB / 302.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