Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001091/0.001091, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 60.38 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08597/0.08727, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001753/0.08906, allocations: 0.4893 MB / 358.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.09106, allocations: 1.449 MB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.09111, allocations: 0 / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.09115, allocations: 3.938 kB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.475e-05/0.09118, allocations: 3.938 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.09181, allocations: 175 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.311e-05/0.09186, allocations: 15.94 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.09191, allocations: 7.984 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.661e-05/0.09195, allocations: 7.938 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.09201, allocations: 11.98 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.09203, allocations: 0 / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.09225, allocations: 127.8 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.09227, allocations: 3.984 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.0923, allocations: 15.92 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.09252, allocations: 115.8 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09253, allocations: 0 / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09254, allocations: 0 / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09255, allocations: 0 / 360 MB, free: 11.59 MB / 302.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.0003178/0.09287, allocations: 355.7 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.09292, allocations: 12.03 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.09296, allocations: 30.75 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.0931, allocations: 4.938 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.09323, allocations: 172.3 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.09325, allocations: 384 / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.09326, allocations: 3.938 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.09336, allocations: 37.62 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.09337, allocations: 0 / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.09339, allocations: 4 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.0934, allocations: 0 / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.09342, allocations: 7.984 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.09383, allocations: 477 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.881e-05/0.09392, allocations: 173.1 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.09396, allocations: 84.14 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.09399, allocations: 79.22 kB / 361.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.09405, allocations: 109.8 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.09405, allocations: 0 / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.912e-05/0.09413, allocations: 25.7 kB / 361.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.0942, allocations: 156.4 kB / 361.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.0943, allocations: 109.8 kB / 361.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.09432, allocations: 25.7 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.09438, allocations: 87.98 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-06/0.09439, allocations: 4 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.09444, allocations: 21.7 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.09454, allocations: 318.8 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.09456, allocations: 0 / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.09459, allocations: 7.938 kB / 362.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.09462, allocations: 8.859 kB / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.09463, allocations: 0 / 362.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.09473, allocations: 41.69 kB / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.09475, allocations: 4 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.09477, allocations: 4.125 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.09478, allocations: 0 / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.09483, allocations: 7.938 kB / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.09484, allocations: 0 / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.09488, allocations: 0 / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.09489, allocations: 0 / 362.3 MB, free: 9 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.121e-05/0.09499, allocations: 197 kB / 362.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.09505, allocations: 101 kB / 362.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.0951, allocations: 112.5 kB / 362.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/0.09516, allocations: 184.2 kB / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-05/0.09522, allocations: 176.3 kB / 363.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.407e-05/0.09528, allocations: 184.2 kB / 363.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.0955, allocations: 409.2 kB / 363.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.522e-05/0.09554, allocations: 105.1 kB / 363.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.09558, allocations: 112.9 kB / 363.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.09569, allocations: 176.3 kB / 364 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.09581, allocations: 184.2 kB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.672e-05/0.09587, allocations: 180.2 kB / 364.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-05/0.09594, allocations: 188.5 kB / 364.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.09606, allocations: 311.6 kB / 364.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.09613, allocations: 186 kB / 365.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.0962, allocations: 184.3 kB / 365.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.0963, allocations: 108.9 kB / 365.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.09637, allocations: 180.3 kB / 365.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.0964, allocations: 101 kB / 365.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.09645, allocations: 91.27 kB / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09646, allocations: 0 / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.09676, allocations: 39.94 kB / 365.8 MB, free: 5.336 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.0006/0.09737, allocations: 0.8838 MB / 366.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.214e-05/0.09744, allocations: 4 kB / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09745, allocations: 0 / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.09746, allocations: 0 / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.0978, allocations: 463.7 kB / 367.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.09817, allocations: 209.9 kB / 367.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.09839, allocations: 0.6768 MB / 368 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.984e-05/0.0985, allocations: 15.97 kB / 368 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.09853, allocations: 15.38 kB / 368 MB, free: 2.992 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09854, allocations: 0 / 368 MB, free: 2.992 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.117, allocations: 1.837 MB / 369.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.271, allocations: 7.922 kB / 369.9 MB, free: 1.246 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv","/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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches