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.001293/0.001293, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2398, allocations: 50.53 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.001529/0.2413, allocations: 0.5071 MB / 409.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2432, allocations: 1.438 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.2433, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.2433, allocations: 4 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.2434, allocations: 3.938 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.244, allocations: 178.7 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.2441, allocations: 19.92 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.2441, allocations: 7.938 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.2441, allocations: 7.984 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.2442, allocations: 11.98 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.2442, allocations: 0 / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.2445, allocations: 171.8 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2445, allocations: 11.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.2446, allocations: 3.984 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.2448, allocations: 118.7 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2448, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2448, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.2448, allocations: 0 / 411.2 MB, free: 15.08 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.00038/0.2452, allocations: 351.3 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2452, allocations: 12.03 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.2453, allocations: 34.75 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2454, allocations: 4.938 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2456, allocations: 172.4 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2456, allocations: 384 / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.2456, allocations: 7.875 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2457, allocations: 37.64 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2457, allocations: 0 / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2458, allocations: 7.922 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2458, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.2458, allocations: 4 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2462, allocations: 477 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.2463, allocations: 169.1 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.2464, allocations: 80.14 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.2464, allocations: 83.28 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.2465, allocations: 105.8 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2465, allocations: 0 / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.98e-05/0.2466, allocations: 33.69 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.2467, allocations: 152.4 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2468, allocations: 101.9 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2468, allocations: 29.7 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.2469, allocations: 96.06 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2469, allocations: 0 / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.2469, allocations: 17.75 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2471, allocations: 322.7 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.2471, allocations: 4 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.2471, allocations: 7.984 kB / 413.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.2471, allocations: 4.859 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2472, allocations: 4.094 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001051/0.2473, allocations: 37.66 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2473, allocations: 6.188 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2473, allocations: 4 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2473, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.2474, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2474, allocations: 3.984 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.2474, allocations: 7.938 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2474, allocations: 4 kB / 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 0.0001144/0.2476, allocations: 189.1 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.2476, allocations: 105 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.2477, allocations: 104.5 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.252e-05/0.2478, allocations: 188.2 kB / 414.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.305e-05/0.2479, allocations: 180.3 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/0.2479, allocations: 184.2 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2482, allocations: 405.4 kB / 414.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/0.2483, allocations: 112.9 kB / 415 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.2483, allocations: 104.9 kB / 415.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.927e-05/0.2484, allocations: 184.2 kB / 415.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.2485, allocations: 184.1 kB / 415.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.069e-05/0.2486, allocations: 180.5 kB / 415.6 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-05/0.2487, allocations: 180.3 kB / 415.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.2488, allocations: 311.7 kB / 416.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.2489, allocations: 186 kB / 416.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.249, allocations: 184.3 kB / 416.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2491, allocations: 101 kB / 416.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.2492, allocations: 188.2 kB / 416.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.2493, allocations: 105 kB / 416.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.2493, allocations: 83.28 kB / 416.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2493, allocations: 4 kB / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.2497, allocations: 39.86 kB / 417 MB, free: 8.82 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.0007713/0.2504, allocations: 0.8889 MB / 417.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.2505, allocations: 12 kB / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2505, allocations: 0 / 417.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2506, 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.0003912/0.2509, allocations: 466.8 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.0003753/0.2513, allocations: 197.9 kB / 418.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.2516, allocations: 0.6768 MB / 419.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2518, allocations: 11.98 kB / 419.2 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.2518, allocations: 11.42 kB / 419.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of SimCode: time 2.013e-06/0.2518, allocations: 0 / 419.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2748, allocations: 1.868 MB / 421.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.075, allocations: 3.938 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.1.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