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.001179/0.001179, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 64.08 kB / 307 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08504, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001392/0.08647, allocations: 497.7 kB / 358.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.08798, allocations: 1.449 MB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.08801, allocations: 3.938 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.588e-06/0.08803, allocations: 0 / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.08806, allocations: 0 / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000532/0.0886, allocations: 179.1 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.028e-05/0.08864, allocations: 8 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.08869, allocations: 11.98 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.08873, allocations: 19.81 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.08878, allocations: 7.984 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.0888, allocations: 0 / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.08898, allocations: 123.9 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.08901, allocations: 7.922 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.08903, allocations: 15.92 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.08922, allocations: 111.8 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.08923, allocations: 4 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08923, allocations: 0 / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.08924, allocations: 4 kB / 360 MB, free: 11.57 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.0002917/0.08954, allocations: 351.7 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.08958, allocations: 12.03 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.782e-05/0.08961, allocations: 30.75 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.08973, allocations: 8.938 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.08983, allocations: 168.3 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-06/0.08985, allocations: 384 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.08986, allocations: 3.938 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.487e-05/0.08994, allocations: 37.69 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.08995, allocations: 0 / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.08996, allocations: 4 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.08997, allocations: 0 / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.08999, allocations: 3.938 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.09034, allocations: 477 kB / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.697e-05/0.09041, allocations: 169.1 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.09045, allocations: 88.08 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.09048, allocations: 75.28 kB / 361.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.09052, allocations: 109.8 kB / 361.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.09052, allocations: 0 / 361.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.788e-05/0.09059, allocations: 25.7 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.09065, allocations: 160.4 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.09075, allocations: 109.8 kB / 361.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.09077, allocations: 25.7 kB / 361.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.09081, allocations: 84.05 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.09082, allocations: 4 kB / 361.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.09086, allocations: 21.7 kB / 361.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.09095, allocations: 314.8 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.09096, allocations: 0 / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.09099, allocations: 8 kB / 362.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.09102, allocations: 12.8 kB / 362.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.09102, allocations: 0 / 362.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.856e-05/0.09112, allocations: 41.69 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.09113, allocations: 4 kB / 362.3 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.09114, allocations: 3.938 kB / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.09116, allocations: 0 / 362.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.0912, allocations: 4 kB / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.09121, allocations: 0 / 362.3 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.09124, allocations: 4.125 kB / 362.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.09125, allocations: 0 / 362.3 MB, free: 8.996 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.708e-05/0.09135, allocations: 197 kB / 362.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.09141, allocations: 104.9 kB / 362.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.09146, allocations: 112.5 kB / 362.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/0.09151, allocations: 180.2 kB / 362.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-05/0.09157, allocations: 180.3 kB / 363.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/0.09164, allocations: 180.2 kB / 363.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.09183, allocations: 417.1 kB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.09187, allocations: 101.1 kB / 363.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.09191, allocations: 113.2 kB / 363.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.042e-05/0.09196, allocations: 176.3 kB / 364 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.09202, allocations: 188.3 kB / 364.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-05/0.09208, allocations: 188.2 kB / 364.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.115e-05/0.09214, allocations: 184.2 kB / 364.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.09225, allocations: 307.6 kB / 364.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.09232, allocations: 190.1 kB / 365.1 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.09239, allocations: 184.2 kB / 365.2 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.09247, allocations: 101 kB / 365.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.09254, allocations: 180.2 kB / 365.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.09257, allocations: 101 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.09262, allocations: 91.27 kB / 365.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09262, allocations: 4 kB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.09288, allocations: 43.94 kB / 365.8 MB, free: 5.32 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.0005536/0.09344, allocations: 0.8863 MB / 366.6 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.09351, allocations: 4 kB / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09352, allocations: 0 / 366.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.09353, allocations: 4 kB / 366.7 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.09384, allocations: 455.7 kB / 367.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.09415, allocations: 209.9 kB / 367.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.09436, allocations: 0.6806 MB / 368 MB, free: 3.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.09444, allocations: 7.984 kB / 368 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.09447, allocations: 19.38 kB / 368 MB, free: 2.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09447, allocations: 0 / 368 MB, free: 2.984 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3318/0.4263, allocations: 1.837 MB / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.21, allocations: 0 / 369.8 MB, free: 1.242 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