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.001624/0.001624, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2429, allocations: 50.54 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001446/0.2444, allocations: 0.4958 MB / 409.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.246, allocations: 1.446 MB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.2461, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.2461, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.329e-05/0.2461, allocations: 0 / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.2467, allocations: 186.5 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.2468, allocations: 11.98 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.2468, allocations: 4 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.2469, allocations: 19.84 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.2469, allocations: 8 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2469, allocations: 0 / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2472, allocations: 176.9 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.2472, allocations: 3.938 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.2472, allocations: 8 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2474, allocations: 118.7 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2475, allocations: 3.984 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2475, allocations: 0 / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2475, allocations: 3.938 kB / 411.2 MB, free: 15.07 MB / 334.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.0003481/0.2478, allocations: 347.3 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2479, allocations: 12.03 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.2479, allocations: 30.75 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.2481, allocations: 4.938 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2482, allocations: 172.4 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.2482, allocations: 384 / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2482, allocations: 3.938 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.618e-05/0.2483, allocations: 33.7 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.2483, allocations: 3.938 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2483, allocations: 3.984 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2484, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.2484, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.2488, allocations: 488.9 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.1e-05/0.2489, allocations: 165.1 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.2489, allocations: 84.14 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2489, allocations: 83.22 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.249, allocations: 109.8 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.249, allocations: 0 / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.958e-05/0.2491, allocations: 29.69 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.2491, allocations: 152.4 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2492, allocations: 113.8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2493, allocations: 25.7 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.2493, allocations: 84.08 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2493, allocations: 0 / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.2494, allocations: 25.75 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2495, allocations: 322.8 kB / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.2495, allocations: 0 / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.2495, allocations: 7.938 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.2496, allocations: 8.859 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2496, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/0.2497, allocations: 37.66 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2497, allocations: 4 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2497, allocations: 4.125 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2497, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/0.2498, allocations: 7.984 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2498, allocations: 0 / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.2498, allocations: 4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2498, allocations: 0 / 413.5 MB, free: 12.48 MB / 334.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 9.848e-05/0.2499, allocations: 193 kB / 413.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.25, allocations: 104.9 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.2501, allocations: 116.5 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/0.2501, allocations: 184.1 kB / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/0.2502, allocations: 180.3 kB / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/0.2502, allocations: 176.3 kB / 414.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.2505, allocations: 413.1 kB / 414.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/0.2505, allocations: 105 kB / 415 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.2505, allocations: 108.9 kB / 415.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.745e-05/0.2506, allocations: 180.2 kB / 415.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.408e-05/0.2507, allocations: 180.2 kB / 415.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.483e-05/0.2507, allocations: 180.4 kB / 415.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.964e-05/0.2508, allocations: 184.3 kB / 415.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.2509, allocations: 315.7 kB / 416.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.251, allocations: 182.3 kB / 416.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.2511, allocations: 180.3 kB / 416.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.2512, allocations: 113 kB / 416.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.2513, allocations: 188.2 kB / 416.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2513, allocations: 101 kB / 416.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.2513, allocations: 87.28 kB / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2513, allocations: 0 / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.2516, allocations: 43.86 kB / 417 MB, free: 8.809 MB / 334.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.0005808/0.2522, allocations: 0.8866 MB / 417.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.2523, allocations: 4 kB / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2523, allocations: 0 / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2523, allocations: 0 / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2526, allocations: 463.7 kB / 418.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.253, allocations: 201.8 kB / 418.5 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2532, allocations: 0.6729 MB / 419.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.85e-05/0.2533, allocations: 15.97 kB / 419.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.2533, allocations: 11.44 kB / 419.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2533, allocations: 0 / 419.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.2706, allocations: 1.864 MB / 421.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.542, allocations: 7.438 kB / 421.1 MB, free: 4.727 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 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.csv","/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