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.001263/0.001263, allocations: 108.2 kB / 16.51 MB, free: 6.707 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.001212/0.001213, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009417/0.0009417, allocations: 47.8 kB / 300.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.08765, allocations: 49.44 MB / 349.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001895/0.08957, allocations: 0.5714 MB / 350.1 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.09132, allocations: 1.406 MB / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.09135, allocations: 0 / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.0914, allocations: 0 / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.09144, allocations: 0 / 351.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.09198, allocations: 145.6 kB / 351.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.272e-05/0.09203, allocations: 15.97 kB / 351.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.09208, allocations: 0 / 351.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.538e-05/0.09212, allocations: 11.94 kB / 351.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.09217, allocations: 11.98 kB / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.09219, allocations: 0 / 351.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.09239, allocations: 122.7 kB / 351.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.09241, allocations: 4 kB / 351.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.09244, allocations: 7.922 kB / 351.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.09265, allocations: 115.8 kB / 351.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.09267, allocations: 4 kB / 351.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.09267, allocations: 0 / 351.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.09268, allocations: 4 kB / 351.9 MB, free: 2.262 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.000339/0.09303, allocations: 351.4 kB / 352.2 MB, free: 1.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.09308, allocations: 15.97 kB / 352.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.09311, allocations: 30.75 kB / 352.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.09314, allocations: 0.9375 kB / 352.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.09325, allocations: 168.6 kB / 352.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.09326, allocations: 384 / 352.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.09328, allocations: 3.938 kB / 352.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.09338, allocations: 37.69 kB / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.09339, allocations: 0 / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.0934, allocations: 0 / 352.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.09341, allocations: 3.984 kB / 352.5 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.09344, allocations: 8 kB / 352.5 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.09384, allocations: 476.9 kB / 353 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.673e-05/0.09393, allocations: 173.1 kB / 353.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.09396, allocations: 80.14 kB / 353.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.09399, allocations: 75.28 kB / 353.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.09404, allocations: 113.8 kB / 353.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.09404, allocations: 0 / 353.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 7.57e-05/0.09412, allocations: 33.64 kB / 353.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.0942, allocations: 160.3 kB / 353.6 MB, free: 356 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.0943, allocations: 105.8 kB / 353.7 MB, free: 240 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.09433, allocations: 29.7 kB / 353.7 MB, free: 204 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.09439, allocations: 92.03 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.0944, allocations: 0 / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.09444, allocations: 17.7 kB / 353.8 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.09455, allocations: 314.8 kB / 354.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.09457, allocations: 8 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.0946, allocations: 8 kB / 354.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.09463, allocations: 4.859 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09464, allocations: 0 / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.09475, allocations: 41.62 kB / 354.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.09477, allocations: 4 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.09477, allocations: 0 / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.09479, allocations: 4 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.09484, allocations: 128 / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.09486, allocations: 4 kB / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.0949, allocations: 0 / 354.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.09492, allocations: 4 kB / 354.2 MB, free: 15.68 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.429e-05/0.09501, allocations: 189.1 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.09508, allocations: 109 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.09514, allocations: 108.5 kB / 354.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/0.09519, allocations: 180.3 kB / 354.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.09525, allocations: 188.1 kB / 355 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.033e-05/0.09531, allocations: 176.3 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.09552, allocations: 413.1 kB / 355.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/0.09556, allocations: 105 kB / 355.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.0956, allocations: 101 kB / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-05/0.09566, allocations: 192.2 kB / 355.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/0.09574, allocations: 180.3 kB / 356.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.364e-05/0.0958, allocations: 180.2 kB / 356.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.763e-05/0.09586, allocations: 180.2 kB / 356.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.09599, allocations: 311.7 kB / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.09607, allocations: 186 kB / 357 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.09614, allocations: 184.4 kB / 357.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.09624, allocations: 101 kB / 357.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.09631, allocations: 188.2 kB / 357.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.09635, allocations: 108.9 kB / 357.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.09641, allocations: 91.27 kB / 357.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09641, allocations: 0 / 357.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.09669, allocations: 39.94 kB / 357.7 MB, free: 12.02 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.0006154/0.09731, allocations: 0.8738 MB / 358.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.09739, allocations: 7.938 kB / 358.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.0974, allocations: 0 / 358.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.09741, allocations: 0 / 358.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.09778, allocations: 0.5303 MB / 359.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.09814, allocations: 208.2 kB / 359.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.09836, allocations: 0.6731 MB / 359.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.145e-05/0.09845, allocations: 19.91 kB / 360 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.09848, allocations: 7.438 kB / 360 MB, free: 9.613 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09849, allocations: 4 kB / 360 MB, free: 9.609 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.026/1.124, allocations: 1.66 MB / 361.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003733/1.125, allocations: 265.1 kB / 361.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/3.215, allocations: 0 / 361.9 MB, free: 7.766 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