Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_3_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.0006444/0.0006445, allocations: 92.59 kB / 17.3 MB, free: 6.387 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.0008139/0.0008139, allocations: 174.1 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004096/0.0004096, allocations: 8.422 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07812, allocations: 47.58 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002039/0.0802, allocations: 1.975 MB / 331 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.08122, allocations: 0.789 MB / 331.8 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.08124, allocations: 0 / 331.8 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.16e-05/0.08131, allocations: 7.938 kB / 331.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.08141, allocations: 8 kB / 331.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.08184, allocations: 167.7 kB / 332 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.08189, allocations: 11.98 kB / 332 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.08193, allocations: 11.88 kB / 332 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.08197, allocations: 11.98 kB / 332 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.08204, allocations: 15.92 kB / 332 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.08205, allocations: 4 kB / 332 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.08225, allocations: 143.5 kB / 332.2 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.08227, allocations: 4 kB / 332.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.08231, allocations: 37.62 kB / 332.2 MB, free: 476 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.0825, allocations: 127.7 kB / 332.4 MB, free: 348 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.08252, allocations: 4 kB / 332.4 MB, free: 344 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.08252, allocations: 3.984 kB / 332.4 MB, free: 340 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.08253, allocations: 0 / 332.4 MB, free: 340 kB / 270.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.0002929/0.08283, allocations: 351.7 kB / 332.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.08287, allocations: 8.031 kB / 332.7 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.0829, allocations: 30.75 kB / 332.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.053e-05/0.08293, allocations: 4.938 kB / 332.7 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.08304, allocations: 164.3 kB / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.08306, allocations: 4.375 kB / 332.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.08307, allocations: 4.312 kB / 332.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.009e-05/0.08314, allocations: 37.62 kB / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.08316, allocations: 0 / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.08317, allocations: 4 kB / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.08318, allocations: 0 / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.0832, allocations: 11.94 kB / 333 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.08349, allocations: 396 kB / 333.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.08356, allocations: 169.1 kB / 333.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.0836, allocations: 84.14 kB / 333.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.08362, allocations: 75.28 kB / 333.7 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.08367, allocations: 105.8 kB / 333.8 MB, free: 14.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.08368, allocations: 7.938 kB / 333.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.989e-05/0.08374, allocations: 25.7 kB / 333.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.08381, allocations: 160.3 kB / 334 MB, free: 14.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.0839, allocations: 117.8 kB / 334.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.08392, allocations: 29.7 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.08397, allocations: 88.05 kB / 334.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.08398, allocations: 0 / 334.2 MB, free: 14.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.08401, allocations: 9.719 kB / 334.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.0841, allocations: 322.8 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.08412, allocations: 3.984 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.08413, allocations: 4 kB / 334.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.08416, allocations: 16.89 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.08417, allocations: 0 / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.33e-05/0.08426, allocations: 37.7 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.08428, allocations: 7.984 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.08428, allocations: 0 / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.0843, allocations: 3.984 kB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.08434, allocations: 8 kB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.08435, allocations: 0 / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.08439, allocations: 0 / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.08441, allocations: 0 / 334.6 MB, free: 13.84 MB / 286.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.384e-05/0.0845, allocations: 193.1 kB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.08456, allocations: 112.8 kB / 334.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.0846, allocations: 116.3 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/0.08466, allocations: 176.3 kB / 335.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/0.08472, allocations: 184.2 kB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-05/0.08478, allocations: 184.3 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.08497, allocations: 417.1 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/0.08501, allocations: 101 kB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.08505, allocations: 101 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/0.0851, allocations: 184.2 kB / 336.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.08517, allocations: 184.2 kB / 336.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.206e-05/0.08523, allocations: 184.2 kB / 336.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-05/0.08528, allocations: 180.2 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.0854, allocations: 307.7 kB / 337.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.08547, allocations: 186.1 kB / 337.4 MB, free: 10.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.08553, allocations: 184.2 kB / 337.5 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.08562, allocations: 101 kB / 337.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.08569, allocations: 188.1 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.08572, allocations: 105.3 kB / 337.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.08577, allocations: 95.56 kB / 338 MB, free: 10.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08578, allocations: 0 / 338 MB, free: 10.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.08604, allocations: 43.98 kB / 338.1 MB, free: 10.17 MB / 286.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.000601/0.08664, allocations: 0.9086 MB / 339 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.057e-05/0.0867, allocations: 4 kB / 339 MB, free: 9.238 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.08672, allocations: 0 / 339 MB, free: 9.238 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.08672, allocations: 0 / 339 MB, free: 9.238 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.08704, allocations: 0.5186 MB / 339.5 MB, free: 8.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008501/0.0879, allocations: 1.346 MB / 340.8 MB, free: 7.289 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.08811, allocations: 0.677 MB / 341.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.08814, allocations: 4 kB / 341.5 MB, free: 6.582 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.08817, allocations: 19.42 kB / 341.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08818, allocations: 0 / 341.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.1009, allocations: 1.815 MB / 343.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.1012, allocations: 274 kB / 343.6 MB, free: 4.473 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/1.748, allocations: 3.938 kB / 343.6 MB, free: 4.469 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sine/Inverse_sine.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches