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.0008243/0.0008243, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.000862/0.000862, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.166/1.166, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002049/0.0002049, allocations: 8 kB / 301.5 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0727/0.07292, allocations: 50.42 MB / 351.9 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.0004685/0.07342, allocations: 238 kB / 352.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.07478, allocations: 1.39 MB / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.07481, allocations: 0 / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-06/0.07482, allocations: 0 / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.469e-05/0.07485, allocations: 0 / 353.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.07529, allocations: 148.4 kB / 353.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.567e-05/0.07533, allocations: 8 kB / 353.7 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.07537, allocations: 7.984 kB / 353.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.07541, allocations: 11.94 kB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.07547, allocations: 11.92 kB / 353.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.07548, allocations: 0 / 353.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.07564, allocations: 119.9 kB / 353.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.07566, allocations: 3.984 kB / 353.9 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.07569, allocations: 33.64 kB / 353.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.07586, allocations: 123.7 kB / 354 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07587, allocations: 0 / 354 MB, free: 1.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07588, allocations: 4 kB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.07589, allocations: 0 / 354 MB, free: 1.266 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.0002482/0.07614, allocations: 339.5 kB / 354.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.07618, allocations: 8.031 kB / 354.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.07621, allocations: 30.75 kB / 354.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.008e-05/0.07624, allocations: 4.938 kB / 354.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.07633, allocations: 164.6 kB / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.07634, allocations: 384 / 354.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.07635, allocations: 3.938 kB / 354.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.07643, allocations: 37.69 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.07644, allocations: 0 / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.07646, allocations: 4 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.07646, allocations: 0 / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.07649, allocations: 3.938 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.07682, allocations: 488.9 kB / 355.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/0.0769, allocations: 169.1 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.07693, allocations: 84.14 kB / 355.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.07696, allocations: 75.28 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.077, allocations: 109.8 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.077, allocations: 0 / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.601e-05/0.07706, allocations: 25.7 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.07713, allocations: 164.4 kB / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.07721, allocations: 105.8 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.07723, allocations: 25.7 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.07728, allocations: 88.12 kB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.07729, allocations: 4 kB / 355.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.07731, allocations: 9.719 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.181e-05/0.0774, allocations: 314.8 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.07741, allocations: 0 / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.07743, allocations: 11.94 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.07746, allocations: 12.8 kB / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.07747, allocations: 0 / 356.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.757e-05/0.07756, allocations: 45.59 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.07758, allocations: 4 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.07758, allocations: 0 / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.0776, allocations: 3.984 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.934e-05/0.07764, allocations: 4 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.07765, allocations: 128 / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.07769, allocations: 4.25 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.07771, allocations: 4 kB / 356.3 MB, free: 14.7 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 7.767e-05/0.07779, allocations: 189.1 kB / 356.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.07785, allocations: 108.9 kB / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.07789, allocations: 112.5 kB / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.07794, allocations: 180.2 kB / 356.9 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/0.07799, allocations: 180.3 kB / 357.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.571e-05/0.07804, allocations: 180.3 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.07824, allocations: 409.1 kB / 357.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/0.07827, allocations: 109 kB / 357.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.07831, allocations: 104.9 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-05/0.07835, allocations: 180.3 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.07841, allocations: 180.3 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.825e-05/0.07846, allocations: 184.2 kB / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.492e-05/0.07851, allocations: 180.3 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.989e-05/0.07861, allocations: 311.7 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.07868, allocations: 182.1 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.07874, allocations: 188.2 kB / 359.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.07882, allocations: 104.9 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.07888, allocations: 180.2 kB / 359.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.07891, allocations: 101 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.423e-05/0.07896, allocations: 95.27 kB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07896, allocations: 0 / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.07921, allocations: 39.94 kB / 359.8 MB, free: 11.05 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.0005023/0.07971, allocations: 0.885 MB / 360.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.07978, allocations: 7.984 kB / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.07978, allocations: 0 / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.07979, allocations: 0 / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.08013, allocations: 0.5186 MB / 361.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.08043, allocations: 212.2 kB / 361.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.08062, allocations: 0.6731 MB / 362 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.08069, allocations: 19.91 kB / 362.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.08072, allocations: 11.44 kB / 362.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08072, allocations: 4 kB / 362.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.764/2.845, allocations: 1.582 MB / 363.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/2.845, allocations: 262.2 kB / 363.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/4.527, allocations: 0 / 363.9 MB, free: 6.906 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