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.001221/0.001221, allocations: 117.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 246.4 MB, free: 9.082 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 65.08 kB / 306.6 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08239, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001533/0.08395, allocations: 0.5675 MB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.08553, allocations: 1.442 MB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.08556, allocations: 0 / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.0856, allocations: 0 / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.08563, allocations: 0 / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.08619, allocations: 167.4 kB / 359.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.95e-05/0.08623, allocations: 12 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.08627, allocations: 7.984 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.08631, allocations: 11.92 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.08637, allocations: 4 kB / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.08638, allocations: 0 / 359.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.08657, allocations: 127.8 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.08659, allocations: 11.94 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.08661, allocations: 4 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.0868, allocations: 123.8 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.08681, allocations: 3.938 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08682, allocations: 0 / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.08682, allocations: 0 / 359.6 MB, free: 11.62 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.0002968/0.08713, allocations: 347.7 kB / 359.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.08717, allocations: 12.03 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.08721, allocations: 34.73 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.08733, allocations: 4.938 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.08744, allocations: 172.2 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.08745, allocations: 384 / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.08747, allocations: 3.938 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.08755, allocations: 33.69 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.08757, allocations: 3.984 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.08758, allocations: 0 / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.08759, allocations: 4 kB / 360.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.08762, allocations: 7.938 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.08797, allocations: 477 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.08805, allocations: 169.1 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.08809, allocations: 84.08 kB / 360.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.08811, allocations: 79.28 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.08816, allocations: 113.8 kB / 361.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.08817, allocations: 0 / 361.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.512e-05/0.08824, allocations: 29.64 kB / 361.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.0883, allocations: 152.4 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.08839, allocations: 109.8 kB / 361.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.08841, allocations: 25.7 kB / 361.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.08846, allocations: 88.05 kB / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.08847, allocations: 0 / 361.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.08851, allocations: 25.7 kB / 361.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.0886, allocations: 314.8 kB / 361.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.08862, allocations: 0 / 361.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.08864, allocations: 8 kB / 361.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.08867, allocations: 13.05 kB / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.08868, allocations: 0 / 361.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.961e-05/0.08877, allocations: 41.69 kB / 361.9 MB, free: 9.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.08879, allocations: 4.125 kB / 361.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.0888, allocations: 4 kB / 361.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.08882, allocations: 0 / 361.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.08886, allocations: 4 kB / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.08887, allocations: 0 / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.08891, allocations: 0 / 361.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.08892, allocations: 0 / 361.9 MB, free: 9.043 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 8.516e-05/0.08901, allocations: 197 kB / 362.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.08907, allocations: 108.9 kB / 362.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.08912, allocations: 112.5 kB / 362.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.857e-05/0.08917, allocations: 176.3 kB / 362.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-05/0.08923, allocations: 180.2 kB / 362.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.563e-05/0.08928, allocations: 176.3 kB / 362.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.08948, allocations: 413.1 kB / 363.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.08952, allocations: 113 kB / 363.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.08955, allocations: 108.9 kB / 363.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.991e-05/0.08961, allocations: 184.2 kB / 363.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.08966, allocations: 176.3 kB / 363.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.646e-05/0.08971, allocations: 180.2 kB / 363.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-05/0.08977, allocations: 188.2 kB / 364.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.08989, allocations: 315.6 kB / 364.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.08995, allocations: 178.1 kB / 364.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.09003, allocations: 184.2 kB / 364.8 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.09012, allocations: 105 kB / 364.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.09018, allocations: 184.2 kB / 365.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.09021, allocations: 105 kB / 365.2 MB, free: 5.504 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.09026, allocations: 91.27 kB / 365.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09027, allocations: 0 / 365.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.09053, allocations: 43.94 kB / 365.3 MB, free: 5.371 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.0005449/0.09108, allocations: 0.8833 MB / 366.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.487e-05/0.09116, allocations: 8 kB / 366.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09117, allocations: 0 / 366.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.09118, allocations: 8.062 kB / 366.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.0915, allocations: 462.3 kB / 366.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.09181, allocations: 209.9 kB / 366.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.09202, allocations: 0.6768 MB / 367.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.0921, allocations: 15.98 kB / 367.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.09213, allocations: 7.438 kB / 367.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09213, allocations: 0 / 367.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7151/0.8072, allocations: 1.764 MB / 369.3 MB, free: 1.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.8075, allocations: 258.6 kB / 369.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.162, allocations: 0 / 369.6 MB, free: 1.148 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches