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.00116/0.00116, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.64 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08616, allocations: 50.52 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001696/0.08789, allocations: 0.5558 MB / 357.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.08965, allocations: 1.48 MB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.0897, allocations: 0 / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.08972, allocations: 0 / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.08976, allocations: 0 / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.09028, allocations: 147.5 kB / 359.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.411e-05/0.09033, allocations: 19.92 kB / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.09037, allocations: 0 / 359.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.09041, allocations: 11.92 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.09047, allocations: 15.92 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.09048, allocations: 0 / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.09068, allocations: 120.7 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.0907, allocations: 7.984 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.09073, allocations: 11.94 kB / 359.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.09093, allocations: 115.8 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09094, allocations: 4 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09095, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09096, allocations: 0 / 359.4 MB, free: 11.91 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.000297/0.09126, allocations: 349.7 kB / 359.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.0913, allocations: 8.031 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.09133, allocations: 30.75 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.09146, allocations: 4.938 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.09156, allocations: 176.4 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.09158, allocations: 4.375 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.09159, allocations: 7.938 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.09168, allocations: 29.7 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.09169, allocations: 0 / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.0917, allocations: 0 / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09171, allocations: 0 / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.09174, allocations: 7.938 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.0921, allocations: 484.9 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.09217, allocations: 169.2 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.09221, allocations: 80.14 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.09223, allocations: 75.28 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.09228, allocations: 121.8 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.09228, allocations: 4 kB / 360.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.905e-05/0.09236, allocations: 33.69 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.09242, allocations: 152.4 kB / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.09251, allocations: 101.9 kB / 361.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.09253, allocations: 25.7 kB / 361.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.09258, allocations: 96.03 kB / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.09259, allocations: 0 / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.09262, allocations: 13.72 kB / 361.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.09272, allocations: 318.8 kB / 361.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.09273, allocations: 0 / 361.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.09276, allocations: 11.98 kB / 361.6 MB, free: 9.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.246e-05/0.09279, allocations: 12.8 kB / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.09279, allocations: 0 / 361.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.45e-05/0.09289, allocations: 33.7 kB / 361.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.09291, allocations: 4 kB / 361.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.09292, allocations: 128 / 361.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.09293, allocations: 4 kB / 361.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.09298, allocations: 4 kB / 361.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.09299, allocations: 3.984 kB / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.09303, allocations: 0 / 361.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.09304, allocations: 4 kB / 361.7 MB, free: 9.332 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.358e-05/0.09313, allocations: 193 kB / 361.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.09319, allocations: 108.9 kB / 362 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.09324, allocations: 112.5 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/0.0933, allocations: 184.2 kB / 362.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-05/0.09335, allocations: 176.3 kB / 362.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.09341, allocations: 180.3 kB / 362.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.09361, allocations: 413.1 kB / 363 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/0.09364, allocations: 105 kB / 363.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.09368, allocations: 108.9 kB / 363.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.938e-05/0.09373, allocations: 184.2 kB / 363.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.09379, allocations: 176.3 kB / 363.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.862e-05/0.09384, allocations: 184.2 kB / 363.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-05/0.0939, allocations: 176.3 kB / 363.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.09401, allocations: 319.6 kB / 364.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.09408, allocations: 178.1 kB / 364.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.09414, allocations: 184.2 kB / 364.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.09424, allocations: 105.2 kB / 364.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.0943, allocations: 184.2 kB / 364.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.09434, allocations: 113 kB / 365 MB, free: 5.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.137e-05/0.09439, allocations: 87.28 kB / 365.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09439, allocations: 0 / 365.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.09468, allocations: 43.92 kB / 365.1 MB, free: 5.664 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.0005639/0.09525, allocations: 0.8726 MB / 366 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.604e-05/0.09532, allocations: 0 / 366 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09533, allocations: 4 kB / 366 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.09534, allocations: 7.938 kB / 366 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.09569, allocations: 0.5225 MB / 366.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.09603, allocations: 227.5 kB / 366.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.09624, allocations: 0.6731 MB / 367.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.09633, allocations: 15.98 kB / 367.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.09636, allocations: 11.42 kB / 367.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09637, allocations: 4 kB / 367.4 MB, free: 3.238 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.662/1.758, allocations: 1.717 MB / 369.2 MB, free: 1.645 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.758, allocations: 259.2 kB / 369.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/3.444, allocations: 0 / 369.4 MB, free: 1.383 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